mirror of
https://gitlab.com/izyim/prototypes/ddd-example.git
synced 2026-08-24 23:14:11 +00:00
Create User Zone
This commit is contained in:
@@ -16,9 +16,12 @@ return new class extends Migration
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('avatar')->nullable();
|
||||
$table->string('email')->unique();
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
$table->string('password');
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
$table->boolean('is_admin')->default(0);
|
||||
$table->boolean('is_active')->default(1);
|
||||
$table->rememberToken();
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user