|
|
|
@ -32,7 +32,7 @@ return new class extends Migration |
|
|
|
Schema::create('admin_roles', function (Blueprint $table) { |
|
|
|
$table->increments('id')->comment('角色id'); |
|
|
|
$table->string('name', 50)->comment('角色名称'); |
|
|
|
$table->string('remark', 50)->comment('角色说明'); |
|
|
|
$table->string('remark', 50)->default('')->comment('角色说明'); |
|
|
|
$table->integer('level')->nullable()->comment('角色级别'); |
|
|
|
$table->tinyInteger('status')->default(1)->comment('状态 0禁用 1启用'); |
|
|
|
$table->softDeletes(); |
|
|
|
|