This commit is contained in:
resonate
2022-01-23 12:35:48 +08:00
parent 28d503eb8b
commit 4eeb2cfec9
13 changed files with 179 additions and 7 deletions
+8
View File
@@ -0,0 +1,8 @@
from common.model import Column, Table, Integer, ForeignKey
role_power = Table(
"admin_role_power",
Column("id", Integer, primary_key=True, autoincrement=True, comment='标识'),
Column("power_id", Integer, ForeignKey("admin_power.id"), comment='用户编号'),
Column("role_id", Integer, ForeignKey("admin_role.id"), comment='角色编号'),
)