Skip to content

Commit 7920db3

Browse files
committed
corrected migration order
1 parent 529da7f commit 7920db3

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

stubs/database/migrations/2014_10_12_000000_create_users_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function up(): void
2525
$table->timestamp('last_logged_in_at')->nullable();
2626
$table->boolean('two_fa_active')->default(false);
2727
$table->string('two_fa_secret_key')->nullable();
28-
$table->foreignUuid('invited_by')->nullable()->constrained('users', 'id')->onDelete('cascade');
28+
$table->foreignUuid('invited_by')->nullable();
2929
$table->timestamp('invited_at')->nullable();
3030
$table->timestamp('joined_at')->nullable();
3131
$table->string('invite_token')->nullable();

0 commit comments

Comments
 (0)