diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/php/model/Entry.php | 2 | ||||
-rw-r--r-- | app/python/rcal/model.py | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/app/php/model/Entry.php b/app/php/model/Entry.php index 3106e8e..4b93f04 100644 --- a/app/php/model/Entry.php +++ b/app/php/model/Entry.php @@ -14,6 +14,7 @@ class Entry extends ActiveRecord { public $AllDay; public $Name; public $Location; + public $LastModified; public $CalendarID; @@ -25,6 +26,7 @@ class Entry extends ActiveRecord { 'all_day' => 'AllDay', 'name' => 'Name', 'location' => 'Location', + 'last_modified' => 'LastModified', '_calendar' => 'CalendarID' ]; diff --git a/app/python/rcal/model.py b/app/python/rcal/model.py index eb5325e..88672b2 100644 --- a/app/python/rcal/model.py +++ b/app/python/rcal/model.py @@ -79,6 +79,7 @@ class Entry(BASE): all_day = Column(Boolean) name = Column(String(255)) location = Column(String(255)) + last_modified = Column(UTCDateTime) _calendar = Column( String(255), |