diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-03-04 21:55:08 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-04 21:59:08 +0100 |
commit | b302ec8381dbd25170926a5c0a89636d56a0d4ff (patch) | |
tree | 6868e89bfeecc632e2c66f2ef21ad086dcad778f /apps | |
parent | e2642129a18be54ce039ba96e89d160c45ff8b9f (diff) | |
download | nextcloud-server-b302ec8381dbd25170926a5c0a89636d56a0d4ff.tar.gz nextcloud-server-b302ec8381dbd25170926a5c0a89636d56a0d4ff.zip |
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: https://github.com/owncloudarchive/calendar/commit/8d8bb68b010fc2c42a258dee43516404a95ab861. I'm not super convinced that CLOB is the best choice here but at least it seems to work.
Fixes https://github.com/owncloud/core/issues/22876
Diffstat (limited to 'apps')
-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 16222463111..4f1e805d99e 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.2.0</version> + <version>0.2.1</version> <default_enable/> <types> <filesystem/> |