改进 创建用户迁移

This commit is contained in:
iVampireSP.com 2023-03-15 21:36:25 +08:00
parent 4750a614c2
commit 28bf14aeb0
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -17,6 +17,7 @@ public function up(): void
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->boolean('is_admin')->default(false)->index();
$table->rememberToken();
$table->timestamps();
});