id(); $table->timestamps(6); $table->foreignId('collective_id') ->constrained('collectives') ->onUpdate('cascade') ->onDelete('cascade'); $table->string('subject'); $table->enum('status', ['current', 'upcoming']); $table->string('slug')->nullable(); $table->string('title')->nullable(); $table->string('image')->nullable(); $table->timestamp('opened', 6)->nullable(); $table->boolean('hold_member_updates')->default(true); $table->string('sort_by')->default('country'); }); } /** * Reverse the migrations. */ public function down() { Schema::dropIfExists('owned'); } };