id(); $table->foreignId('venue_id')->constrained()->cascadeOnDelete(); $table->string('title'); $table->string('category', 50)->nullable(); $table->unsignedInteger('quota')->default(0); $table->unsignedInteger('registered_count')->default(0); $table->timestamp('start_at')->nullable(); $table->timestamp('end_at')->nullable(); $table->boolean('is_active')->default(true); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('activities'); } };