From 8f17fd751ed048993cb731f78ac6f949b2a77e93 Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 25 Feb 2016 11:53:05 +0100 Subject: * calendar UID not nullable --- app/python/rcal/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3