feat: 升级权限管理模式

This commit is contained in:
augushong
2025-03-20 16:57:05 +08:00
parent 1887733b32
commit d3e85fa552
50 changed files with 330 additions and 1125 deletions

View File

@@ -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();
}
}