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

11 lines
299 B
Python

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)