increments('id'); $table->integer('parent_id')->nullable(); $table->text('name')->nullable(); $table->text('description')->nullable(); $table->text('meta_title')->nullable(); $table->text('meta_description')->nullable(); $table->text('meta_keywords')->nullable(); $table->integer('image')->nullable(); $table->text('slug')->nullable(); $table->enum('status', ['Show','Hide'])->nullable(); $table->integer('user_id')->nullable(); $table->text('user_type')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('categories'); } }