mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-07 02:22:48 +08:00
feat: 升级权限管理模式
This commit is contained in:
@@ -31,9 +31,7 @@ class SystemAuthNode extends Migrator
|
||||
$table = $this->table('system_auth_node')
|
||||
->setComment('角色与节点关系表')
|
||||
->addColumn(Column::bigInteger('auth_id')->setUnsigned()->setComment('角色ID'))
|
||||
->addColumn(Column::bigInteger('node_id')->setUnsigned()->setComment('节点ID'))
|
||||
->addIndex('auth_id')
|
||||
->addIndex('node_id')
|
||||
->create();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user