increments('id'); $table->integer('parent_id')->nullable(); $table->string('key', 100)->nullable(); $table->string('url', 100)->nullable(); $table->string('icon', 100)->nullable(); $table->string('permission', 1000)->nullable(); $table->string('role', 1000)->nullable(); $table->text('name')->nullable(); $table->text('description')->nullable(); $table->enum('target', ['_blank','_self'])->nullable(); $table->integer('order')->nullable(); $table->string('uload_folder', 150)->nullable(); $table->string('slug', 200)->nullable(); $table->tinyInteger('status')->nullable(); $table->string('upload_folder', 100)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('menus'); } }