'dev'
This commit is contained in:
14
app/models.py
Normal file
14
app/models.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from sqlalchemy import Column, Integer, String
|
||||
from app.database import Base
|
||||
|
||||
class User(Base):
|
||||
__tablename__ = "users"
|
||||
|
||||
id = Column(Integer, primary_key=True, index=True)
|
||||
nickname = Column(String, index=True)
|
||||
remark = Column(String)
|
||||
wechat_number = Column(String)
|
||||
wxid = Column(String, index=True, unique=True)
|
||||
gender = Column(String)
|
||||
friend_add_time = Column(String)
|
||||
openid = Column(String, index=True)
|
||||
Reference in New Issue
Block a user