increments('id'); $table->string('name', 255)->nullable(); $table->string('designation', 255)->nullable(); $table->text('description')->nullable(); $table->text('image')->nullable(); $table->date('date')->nullable(); $table->string('slug', 255)->nullable(); $table->enum('status', [['Show', 'Hide']])->nullable(); $table->string('user_id', 255)->nullable(); $table->string('user_type', 255)->nullable(); $table->string('upload_folder', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('testimonials'); } }