increments('id'); $table->integer('user_id')->nullable(); $table->integer('parent_id')->nullable(); $table->string('name', 255)->nullable(); $table->string('slug', 255)->nullable(); $table->enum('status', ['Enabled','Disabled'])->nullable(); $table->integer('tax')->nullable(); $table->text('meta_title')->nullable(); $table->text('meta_description')->nullable(); $table->text('meta_keyword')->nullable(); $table->text('image')->nullable(); $table->integer('order')->nullable(); $table->text('title')->nullable(); $table->longText('description')->nullable(); $table->text('upload_folder')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('categories'); } }