matrix-bot-praying-times/matrix_bot_praying_times/models/user.py
Finn Christiansen 1f1ae5077e
Some checks failed
ci / docker (push) Successful in 4m43s
Python formatting PEP8 / Python-PEP8 (push) Failing after 13s
Added periodic reminders and included alembic migration in container
2024-06-16 22:45:24 +02:00

14 lines
344 B
Python

from sqlalchemy import Column, String, Integer, Date
from ..db import Base
class User(Base):
__tablename__ = "user"
id = Column(Integer, primary_key=True)
username = Column(String)
location = Column(String)
room_id = Column(String)
reminder_time_in_minutes = Column(Integer)
current_reminder_date = Column(Date)