increments('id'); $table->integer('parent_id')->nullable(); $table->string('type', 50)->nullable(); $table->string('name', 50)->nullable(); $table->string('code', 20)->nullable(); $table->double('amount', 10,2)->nullable(); $table->string('abbr', 50)->nullable(); $table->text('description')->nullable(); $table->string('icon', 50)->nullable(); $table->text('image')->nullable(); $table->text('images')->nullable(); $table->text('file')->nullable(); $table->integer('order')->nullable(); $table->enum('status', ['Yes', 'No'])->nullable(); $table->text('extras')->nullable(); $table->string('slug', 255)->nullable(); $table->text('marking', 200)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('litepie_master_masters'); } }