diff options
-rw-r--r-- | app/python/rcal/model.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/python/rcal/model.py b/app/python/rcal/model.py index 88672b2..5b16e8b 100644 --- a/app/python/rcal/model.py +++ b/app/python/rcal/model.py @@ -34,7 +34,7 @@ class Calendar(BASE): visible = Column(Boolean, index=True) custom_name = Column(String(255)) custom_image = Column(String(255)) - custom_url = Column(String(255)) + custom_url = Column(String(255), unique=True, nullable=False, index=True) last_updated = Column(TIMESTAMP) _category = Column( |