Change media column to nullable with default null
This commit is contained in:
parent
a0861a0b92
commit
f7566c34ea
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ public function up(): void
|
|||
$table->uuid('workspace_id');
|
||||
$table->uuid('user_id')->nullable();
|
||||
$table->text('content')->nullable();
|
||||
$table->json('media')->default('[]');
|
||||
$table->json('media')->nullable()->default(null);
|
||||
$table->string('status')->default('draft');
|
||||
$table->timestamp('scheduled_at')->nullable();
|
||||
$table->timestamp('published_at')->nullable();
|
||||
|
|
|
|||
Loading…
Reference in a new issue