increments('id'); $table->longText('comment')->nullable(); $table->string('author', 255)->nullable(); $table->string('email', 255)->nullable(); $table->integer('mobile')->nullable(); $table->string('slug', 255)->nullable(); $table->enum('published', ['yes','no'])->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 255)->nullable(); $table->integer('kitchen_id')->nullable(); $table->package::package.fieldtype.KEY('PRIMARY')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('kitchen_comments'); } }