tableName, function (Blueprint $table) { $table->increments('id'); $table->string('MenuName', 128); $table->unsignedTinyInteger('Valid'); $table->integer('Corder'); $table->unsignedTinyInteger('Oid'); // TODO: 不知道作用 $table->string('icon', 128)->nullable(); $table->timestamps(); }); } public function down() { Schema::drop($this->tableName); } }