diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-03-04 22:12:54 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-04 22:12:54 +0100 |
commit | fb62043cc16de90dc671faf5a3752300d62f4d94 (patch) | |
tree | df8ee3113ffa95865ad5e29d8c458e796bba10cc /apps/dav | |
parent | b3c9ed8d5cd3f466311b3479ec67d5bacc49105c (diff) | |
download | nextcloud-server-fb62043cc16de90dc671faf5a3752300d62f4d94.tar.gz nextcloud-server-fb62043cc16de90dc671faf5a3752300d62f4d94.zip |
[stable9] Use CLOB for timezone
TEXT defaults to a length of 255 which is going to fail in some cases as the timezone can be rather long.
This changes it back to a CLOB as it has been before as well: owncloudarchive/calendar@8d8bb68. I'm not super convinced that CLOB is the best choice here but at least it seems to work.
Fixes #22876
Backport of https://github.com/owncloud/core/pull/22878 to stable9
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/appinfo/database.xml | 4 | ||||
-rw-r--r-- | apps/dav/appinfo/info.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/appinfo/database.xml b/apps/dav/appinfo/database.xml index 4221e590fa5..b0a7ad4f2a8 100644 --- a/apps/dav/appinfo/database.xml +++ b/apps/dav/appinfo/database.xml @@ -283,7 +283,7 @@ CREATE TABLE calendarobjects ( description TEXT, calendarorder INT(11) UNSIGNED NOT NULL DEFAULT '0', calendarcolor VARBINARY(10), - timezone TEXT, + timezone CLOB, components VARBINARY(20), transparent TINYINT(1) NOT NULL DEFAULT '0', UNIQUE(principaluri, uri) @@ -337,7 +337,7 @@ CREATE TABLE calendarobjects ( </field> <field> <name>timezone</name> - <type>text</type> + <type>clob</type> </field> <field> <name>components</name> diff --git a/apps/dav/appinfo/info.xml b/apps/dav/appinfo/info.xml index 4f3a93dbf8b..a8789f480e4 100644 --- a/apps/dav/appinfo/info.xml +++ b/apps/dav/appinfo/info.xml @@ -5,7 +5,7 @@ <description>ownCloud WebDAV endpoint</description> <licence>AGPL</licence> <author>owncloud.org</author> - <version>0.1.4</version> + <version>0.1.5</version> <default_enable/> <types> <filesystem/> |