Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Nov 3, 2024
1 parent 2272dae commit 07fb3b9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
9 changes: 9 additions & 0 deletions migrations/2024_10_31_000000_create_gdpr_exports_table.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of blomstra/flarum-gdpr
*
* Copyright (c) 2021 Blomstra Ltd
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Schema\Builder;

Expand Down
11 changes: 10 additions & 1 deletion migrations/2024_10_31_000001_create_gdpr_erasure_table.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of blomstra/flarum-gdpr
*
* Copyright (c) 2021 Blomstra Ltd
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Schema\Builder;

Expand All @@ -18,7 +27,7 @@
$table->text('processor_comment')->nullable();
$table->dateTime('processed_at')->nullable();
$table->string('processed_mode')->nullable();

$table->foreign('processed_by')->references('id')->on('users')->onDelete('no action');
$table->foreign('user_id')->references('id')->on('users')->onDelete('set null');
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of blomstra/flarum-gdpr
*
* Copyright (c) 2021 Blomstra Ltd
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Schema\Builder;

Expand Down

0 comments on commit 07fb3b9

Please sign in to comment.