increments('id'); $table->integer('user_id')->nullable(); $table->text('title')->nullable(); $table->text('slug')->nullable(); $table->longText('description')->nullable(); $table->dateTime('activity_date')->nullable(); $table->integer('state_id')->nullable(); $table->integer('city_id')->nullable(); $table->integer('block_zone_id')->nullable(); $table->integer('village_id')->nullable(); $table->text('images')->nullable(); $table->text('videos')->nullable(); $table->longText('meta_title')->nullable(); $table->longText('meta_keywords')->nullable(); $table->longText('meta_description')->nullable(); $table->text('hashtags')->nullable(); $table->enum('status', ['Show','Hide'])->nullable(); $table->timestamp('deteled_at')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('activities'); } }