diff options
author | emkael <emkael@tlen.pl> | 2016-02-25 11:53:05 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-02-25 11:53:05 +0100 |
commit | 8f17fd751ed048993cb731f78ac6f949b2a77e93 (patch) | |
tree | 873091fc2f282d4986030a8f1d9b1a0aeefa3c92 /app | |
parent | 99c0bcb7c34c8ae2ea231f18f24b4bef64827404 (diff) |
* calendar UID not nullable
Diffstat (limited to 'app')
-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 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) |