set timestamp defaults
This commit is contained in:
@@ -18,9 +18,9 @@ return new class extends Migration
|
|||||||
$table->string('title');
|
$table->string('title');
|
||||||
$table->string('location');
|
$table->string('location');
|
||||||
$table->string('address')->nullable();
|
$table->string('address')->nullable();
|
||||||
$table->timestamp('start_at');
|
$table->timestamp('start_at')->useCurrent();
|
||||||
$table->timestamp('end_at');
|
$table->timestamp('end_at')->useCurrent();
|
||||||
$table->timestamp('publish_at')->nullable();
|
$table->timestamp('publish_at')->useCurrent()->nullable();
|
||||||
$table->string('status')->default('draft');
|
$table->string('status')->default('draft');
|
||||||
$table->string('registration_type');
|
$table->string('registration_type');
|
||||||
$table->string('registration_data')->nullable();
|
$table->string('registration_data')->nullable();
|
||||||
|
|||||||
Reference in New Issue
Block a user