increments('id'); $table->integer('user_id')->nullable(); $table->text('user_type')->nullable(); $table->string('name', 255)->nullable(); $table->string('title', 255)->nullable(); $table->string('slug', 255)->nullable(); $table->string('subtitle', 255)->nullable(); $table->longText('description')->nullable(); $table->string('meta_title', 255)->nullable(); $table->string('meta_description', 255)->nullable(); $table->string('meta_tags', 255)->nullable(); $table->string('meta_subtitle', 255)->nullable(); $table->string('highlights', 255)->nullable(); $table->string('images', 255)->nullable(); $table->string('demo_screenshots', 2555)->nullable(); $table->enum('published', ['yes','no'])->nullable(); $table->enum('status', ['show','hide'])->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('products'); } }