summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-02-25 11:53:05 +0100
committeremkael <emkael@tlen.pl>2016-02-25 11:53:05 +0100
commit8f17fd751ed048993cb731f78ac6f949b2a77e93 (patch)
tree873091fc2f282d4986030a8f1d9b1a0aeefa3c92
parent99c0bcb7c34c8ae2ea231f18f24b4bef64827404 (diff)
* calendar UID not nullable
-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)