increments('id'); $table->integer('group_id')->nullable(); $table->string('slug', 100)->nullable(); $table->string('name', 100)->nullable(); $table->text('description')->nullable(); $table->enum('status', ['Show','Hide'])->nullable(); $table->text('images')->nullable(); $table->text('icon')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 60)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('attributes'); } }