修改表命名

This commit is contained in:
resonate
2022-01-23 14:29:15 +08:00
parent 4eeb2cfec9
commit 56dcc7eff8
13 changed files with 35 additions and 50 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ from common.model import BaseModel, Column, String, Integer, DateTime,relationsh
class Role(BaseModel):
__tablename__ = 'admin_role'
__tablename__ = 'sys_role'
id = Column(Integer, primary_key=True, comment='角色ID')
name = Column(String(255), comment='角色名称')
code = Column(String(255), comment='角色标识')