添加字段
This commit is contained in:
parent
665eecf023
commit
b103871437
@ -23,6 +23,7 @@ public function up(): void
|
|||||||
$table->timestamp('paid_at')->nullable();
|
$table->timestamp('paid_at')->nullable();
|
||||||
$table->unsignedBigInteger('user_id')->nullable()->index();
|
$table->unsignedBigInteger('user_id')->nullable()->index();
|
||||||
$table->foreign(['user_id'])->references(['id'])->on('users')->onUpdate('NO ACTION')->onDelete('NO ACTION');
|
$table->foreign(['user_id'])->references(['id'])->on('users')->onUpdate('NO ACTION')->onDelete('NO ACTION');
|
||||||
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user