increments('id'); $table->integer('user_id')->nullable(); $table->string('user_type', 25)->nullable(); $table->string('name', 250)->nullable(); $table->string('title', 1000)->nullable(); $table->text('content')->nullable(); $table->string('slug', 50)->nullable(); $table->text('images')->nullable(); $table->enum('status', ['show','hide'])->nullable(); $table->text('upload_folder')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('sliders'); } }