diff --git a/database/migrations/2024_04_05_091945_create_workshops_table.php b/database/migrations/2024_04_05_091945_create_workshops_table.php index 0ce56fd..6f272ce 100644 --- a/database/migrations/2024_04_05_091945_create_workshops_table.php +++ b/database/migrations/2024_04_05_091945_create_workshops_table.php @@ -16,10 +16,10 @@ return new class extends Migration $table->string('title'); $table->string('hero_media_name'); $table->text('content'); - $table->timestamp('starts_at'); - $table->timestamp('ends_at'); - $table->timestamp('publish_at'); - $table->timestamp('closes_at'); + $table->timestamp('starts_at')->nullable(); + $table->timestamp('ends_at')->nullable(); + $table->timestamp('publish_at')->nullable(); + $table->timestamp('closes_at')->nullable(); $table->string('status')->default('draft'); $table->string('price')->nullable(); $table->string('ages')->nullable();