DDL
This commit is contained in:
parent
4d6dcf6644
commit
d8b60a46b9
@ -12,6 +12,7 @@ public function up(): void
|
||||
{
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->uuid('guid')->unique()->index()->default(DB::raw('uuid_generate_v4()'));
|
||||
$table->boolean('is_active')->default(true);
|
||||
$table->string('first_name');
|
||||
$table->string('last_name')->nullable();
|
||||
|
Loading…
Reference in New Issue
Block a user