uuid('id')->primary(); $table->string('title'); $table->string('location'); $table->string('address')->nullable(); $table->timestamp('start_at')->useCurrent(); $table->timestamp('end_at')->useCurrent(); $table->timestamp('publish_at')->useCurrent()->nullable(); $table->string('status')->default('draft'); $table->string('registration_type'); $table->string('registration_data')->nullable(); $table->uuid('hero'); $table->text('content')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('events'); } };