mirror of
https://github.com/ada-dmitry/vol_bot.git
synced 2026-09-24 00:30:19 +00:00
11 lines
330 B
Python
11 lines
330 B
Python
from sqlalchemy import Column, BigInteger, Boolean, String
|
|
from database import Base
|
|
|
|
class User(Base):
|
|
__tablename__ = "users"
|
|
|
|
user_id = Column(BigInteger, primary_key=True)
|
|
full_name = Column(String, nullable=False)
|
|
study_group = Column(String, nullable=False)
|
|
is_subscribed = Column(Boolean, default=True)
|