修改表命名

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
@@ -4,7 +4,7 @@ from common.model import BaseModel, Column, Integer, String, DateTime
class Power(BaseModel):
__tablename__ = 'admin_power'
__tablename__ = 'sys_power'
id = Column(Integer, primary_key=True, comment='权限编号')
name = Column(String(255), comment='权限名称')
type = Column(String(1), comment='权限类型')