[V1.0] Working application, added notifications.
Ready to upload to store.
This commit is contained in:
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
# modules/auth/models.py
|
||||
from core.database import Base
|
||||
from sqlalchemy import Column, Integer, String, Enum, DateTime
|
||||
from sqlalchemy import Column, Integer, String, Enum, DateTime, Text
|
||||
from sqlalchemy.orm import relationship
|
||||
from enum import Enum as PyEnum
|
||||
|
||||
@@ -18,6 +18,7 @@ class User(Base):
|
||||
name = Column(String)
|
||||
role = Column(Enum(UserRole), nullable=False, default=UserRole.USER)
|
||||
hashed_password = Column(String)
|
||||
expo_push_token = Column(Text, nullable=True)
|
||||
calendar_events = relationship("CalendarEvent", back_populates="user")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user