diff options
-rw-r--r-- | app/php/model/Calendar.php | 6 | ||||
-rw-r--r-- | app/python/rcal/model.py | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/app/php/model/Calendar.php b/app/php/model/Calendar.php index 9e1afce..ab0b2e8 100644 --- a/app/php/model/Calendar.php +++ b/app/php/model/Calendar.php @@ -13,6 +13,9 @@ class Calendar extends ActiveRecord { public $Name; public $Website; public $Visible; + public $CustomName; + public $CustomImage; + public $CustomUrl; public $LastUpdated; public $CategoryID; @@ -24,6 +27,9 @@ class Calendar extends ActiveRecord { 'website' => 'Website', 'visible' => 'Visible', 'last_updated' => 'LastUpdated', + 'custom_name' => 'CustomName', + 'custom_image' => 'CustomImage', + 'custom_url' => 'CustomUrl', '_category' => 'CategoryID' ]; diff --git a/app/python/rcal/model.py b/app/python/rcal/model.py index 4ac212f..eb5325e 100644 --- a/app/python/rcal/model.py +++ b/app/python/rcal/model.py @@ -32,6 +32,9 @@ class Calendar(BASE): name = Column(String(255), index=True) website = Column(String(255)) visible = Column(Boolean, index=True) + custom_name = Column(String(255)) + custom_image = Column(String(255)) + custom_url = Column(String(255)) last_updated = Column(TIMESTAMP) _category = Column( |