rumine-api-wrapper/db/sql_schemas/Subscribe.py

11 lines
299 B
Python
Raw Normal View History

2024-04-15 13:18:31 +02:00
from sqlalchemy import Column, Integer, String, TIMESTAMP
from .Base import Base
class Subscribe(Base):
__tablename__ = 'subscribe'
id = Column(Integer, primary_key=True, autoincrement=True)
discord = Column(String(36))
nickname = Column(String(20))
expiry = Column(TIMESTAMP)