summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/python/rcal/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/python/rcal/model.py b/app/python/rcal/model.py
index faed188..94e426f 100644
--- a/app/python/rcal/model.py
+++ b/app/python/rcal/model.py
@@ -69,7 +69,7 @@ class Entry(BASE):
__tablename__ = 'entries'
id = Column(Integer, primary_key=True)
- uid = Column(String(255), index=True, unique=True)
+ uid = Column(String(255), index=True, unique=True, nullable=False)
begin_date = Column(UTCDateTime, index=True)
end_date = Column(UTCDateTime)
all_day = Column(Boolean)