修改表命名
This commit is contained in:
@@ -4,7 +4,7 @@ from common.model import BaseModel, Integer, Column, String, CHAR, DateTime
|
||||
|
||||
|
||||
class Photo(BaseModel):
|
||||
__tablename__ = 'admin_photo'
|
||||
__tablename__ = 'sys_photo'
|
||||
id = Column(Integer, primary_key=True)
|
||||
name = Column(String(255), nullable=False)
|
||||
href = Column(String(255))
|
||||
|
||||
Reference in New Issue
Block a user