This commit is contained in:
resonate
2022-01-23 16:03:40 +08:00
parent ef8044ea22
commit a3c61d3291
15 changed files with 220 additions and 54 deletions
+8
View File
@@ -0,0 +1,8 @@
from common.model import Column, Table, Integer, ForeignKey
role_power = Table(
"sys_role_power",
Column("id", Integer, primary_key=True, autoincrement=True, comment='标识'),
Column("power_id", Integer, ForeignKey("sys_power.id"), comment='用户编号'),
Column("role_id", Integer, ForeignKey("sys_role.id"), comment='角色编号'),
)