unsignedTinyInteger('event_id')->autoIncrement(); $table->string('title')->nullable(); $table->string('alias')->nullable(); $table->string('type')->nullable(); $table->string('date')->nullable(); $table->time('start_time')->nullable(); $table->time('end_time')->nullable(); $table->integer('status')->nullable(); $table->mediumText('description')->nullable(); $table->string('location')->nullable(); $table->mediumText('remarks')->nullable(); $table->unsignedBigInteger('createdBy')->nullable(); $table->unsignedBigInteger('updatedBy')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('tbl_events'); } };