xuyonghao
2024-12-05 f7f4430d30ba5f41da69c99082eabe5727198dca
1
2
3
4
5
6
7
8
9
from sqlalchemy import Column, Integer, String
from app.models.postgresql_base_model import PostgresqlBase
 
class AppToken(PostgresqlBase):
    __tablename__ = "app_service_token"
 
    id = Column(Integer, primary_key=True, index=True)
    token = Column(String, unique=True, index=True)
    app_token = Column(String)