diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-08-25 15:52:14 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-09-18 14:35:27 +0200 |
commit | 32234a23da7440f85617a3347b87c7b08ed7536a (patch) | |
tree | 51897fcab053dd8f936874f2072b67ac2f5ed6bf /apps/dav/appinfo | |
parent | bdba9871d0da1b62a7ab3c132ceb3b469848f535 (diff) | |
download | nextcloud-server-32234a23da7440f85617a3347b87c7b08ed7536a.tar.gz nextcloud-server-32234a23da7440f85617a3347b87c7b08ed7536a.zip |
Move DAV app to migrations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r-- | apps/dav/appinfo/database.xml | 801 | ||||
-rw-r--r-- | apps/dav/appinfo/info.xml | 2 |
2 files changed, 1 insertions, 802 deletions
diff --git a/apps/dav/appinfo/database.xml b/apps/dav/appinfo/database.xml deleted file mode 100644 index b3a69de070c..00000000000 --- a/apps/dav/appinfo/database.xml +++ /dev/null @@ -1,801 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" ?> -<database> - - <!-- -CREATE TABLE addressbooks ( - id INT(11) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, - principaluri VARBINARY(255), - displayname VARCHAR(255), - uri VARBINARY(200), - description TEXT, - synctoken INT(11) UNSIGNED NOT NULL DEFAULT '1', - UNIQUE(principaluri(100), uri(100)) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; - --> - <table> - - <name>*dbprefix*addressbooks</name> - - <declaration> - - <field> - <name>id</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <autoincrement>1</autoincrement> - <unsigned>true</unsigned> - <length>11</length> - </field> - - <field> - <name>principaluri</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>displayname</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>uri</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>description</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>synctoken</name> - <type>integer</type> - <default>1</default> - <notnull>true</notnull> - <unsigned>true</unsigned> - </field> - <index> - <name>addressbook_index</name> - <unique>true</unique> - <field> - <name>principaluri</name> - </field> - <field> - <name>uri</name> - </field> - </index> - </declaration> - </table> - - <!-- - -CREATE TABLE cards ( - id INT(11) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, - addressbookid INT(11) UNSIGNED NOT NULL, - carddata MEDIUMBLOB, - uri VARBINARY(200), - lastmodified INT(11) UNSIGNED, - etag VARBINARY(32), - size INT(11) UNSIGNED NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; - - --> - <table> - <name>*dbprefix*cards</name> - <declaration> - <field> - <name>id</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <autoincrement>1</autoincrement> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>addressbookid</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - </field> - <field> - <name>carddata</name> - <type>blob</type> - </field> - <field> - <name>uri</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>lastmodified</name> - <type>integer</type> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>etag</name> - <type>text</type> - <length>32</length> - </field> - <field> - <name>size</name> - <type>integer</type> - <notnull>true</notnull> - <unsigned>true</unsigned> - <length>11</length> - </field> - </declaration> - </table> - - <!-- -CREATE TABLE addressbookchanges ( - id INT(11) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, - uri VARBINARY(200) NOT NULL, - synctoken INT(11) UNSIGNED NOT NULL, - addressbookid INT(11) UNSIGNED NOT NULL, - operation TINYINT(1) NOT NULL, - INDEX addressbookid_synctoken (addressbookid, synctoken) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; - --> - - <table> - <name>*dbprefix*addressbookchanges</name> - <declaration> - <field> - <name>id</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <autoincrement>1</autoincrement> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>uri</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>synctoken</name> - <type>integer</type> - <default>1</default> - <notnull>true</notnull> - <unsigned>true</unsigned> - </field> - <field> - <name>addressbookid</name> - <type>integer</type> - <notnull>true</notnull> - </field> - <field> - <name>operation</name> - <type>integer</type> - <notnull>true</notnull> - <length>1</length> - </field> - - <index> - <name>addressbookid_synctoken</name> - <field> - <name>addressbookid</name> - </field> - <field> - <name>synctoken</name> - </field> - </index> - - </declaration> - </table> - - -<!-- -CREATE TABLE calendarobjects ( - id INT(11) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, - calendardata MEDIUMBLOB, - uri VARBINARY(200), - calendarid INTEGER UNSIGNED NOT NULL, - lastmodified INT(11) UNSIGNED, - etag VARBINARY(32), - size INT(11) UNSIGNED NOT NULL, - componenttype VARBINARY(8), - firstoccurence INT(11) UNSIGNED, - lastoccurence INT(11) UNSIGNED, - uid VARBINARY(200), - UNIQUE(calendarid, uri) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ---> -<table> - <name>*dbprefix*calendarobjects</name> - <declaration> - <field> - <name>id</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <autoincrement>1</autoincrement> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>calendardata</name> - <type>blob</type> - </field> - <field> - <name>uri</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>calendarid</name> - <type>integer</type> - <unsigned>true</unsigned> - <notnull>true</notnull> - </field> - <field> - <name>lastmodified</name> - <type>integer</type> - <unsigned>true</unsigned> - </field> - <field> - <name>etag</name> - <type>text</type> - <length>32</length> - </field> - <field> - <name>size</name> - <type>integer</type> - <notnull>true</notnull> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>componenttype</name> - <type>text</type> - <length>8</length> - </field> - <field> - <name>firstoccurence</name> - <type>integer</type> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>lastoccurence</name> - <type>integer</type> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>uid</name> - <type>text</type> - <length>255</length> - </field> - <field> - <comments>0 - public, 1 - private, 2 - confidential</comments> - <name>classification</name> - <type>integer</type> - <default>0</default> - </field> - <index> - <name>calobjects_index</name> - <unique>true</unique> - <field> - <name>calendarid</name> - </field> - <field> - <name>uri</name> - </field> - </index> - </declaration> -</table> - <!-- - CREATE TABLE calendars ( - id INTEGER UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, - principaluri VARBINARY(100), - displayname VARCHAR(100), - uri VARBINARY(200), - synctoken INTEGER UNSIGNED NOT NULL DEFAULT '1', - description TEXT, - calendarorder INT(11) UNSIGNED NOT NULL DEFAULT '0', - calendarcolor VARBINARY(10), - timezone CLOB, - components VARBINARY(20), - transparent TINYINT(1) NOT NULL DEFAULT '0', - UNIQUE(principaluri, uri) - ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; - --> -<table> - <name>*dbprefix*calendars</name> - <declaration> - <field> - <name>id</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <autoincrement>1</autoincrement> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>principaluri</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>displayname</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>uri</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>synctoken</name> - <type>integer</type> - <default>1</default> - <notnull>true</notnull> - <unsigned>true</unsigned> - </field> - <field> - <name>description</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>calendarorder</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <unsigned>true</unsigned> - </field> - <field> - <name>calendarcolor</name> - <type>text</type> - </field> - <field> - <name>timezone</name> - <type>clob</type> - </field> - <field> - <name>components</name> - <type>text</type> - <length>64</length> - </field> - <field> - <name>transparent</name> - <type>integer</type> - <length>1</length> - <notnull>true</notnull> - <default>0</default> - </field> - <index> - <name>calendars_index</name> - <unique>true</unique> - <field> - <name>principaluri</name> - </field> - <field> - <name>uri</name> - </field> - </index> - </declaration> -</table> - <!-- - CREATE TABLE calendarchanges ( - id INT(11) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, - uri VARBINARY(200) NOT NULL, - synctoken INT(11) UNSIGNED NOT NULL, - calendarid INT(11) UNSIGNED NOT NULL, - operation TINYINT(1) NOT NULL, - INDEX calendarid_synctoken (calendarid, synctoken) - ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; - --> - <table> - <name>*dbprefix*calendarchanges</name> - <declaration> - <field> - <name>id</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <autoincrement>1</autoincrement> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>uri</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>synctoken</name> - <type>integer</type> - <default>1</default> - <notnull>true</notnull> - <unsigned>true</unsigned> - </field> - <field> - <name>calendarid</name> - <type>integer</type> - <notnull>true</notnull> - </field> - <field> - <name>operation</name> - <type>integer</type> - <notnull>true</notnull> - <length>1</length> - </field> - - <index> - <name>calendarid_synctoken</name> - <field> - <name>calendarid</name> - </field> - <field> - <name>synctoken</name> - </field> - </index> - - </declaration> - </table> - - <!-- - CREATE TABLE calendarsubscriptions ( - id INT(11) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, - uri VARBINARY(200) NOT NULL, - principaluri VARBINARY(100) NOT NULL, - source TEXT, - displayname VARCHAR(100), - refreshrate VARCHAR(10), - calendarorder INT(11) UNSIGNED NOT NULL DEFAULT '0', - calendarcolor VARBINARY(10), - striptodos TINYINT(1) NULL, - stripalarms TINYINT(1) NULL, - stripattachments TINYINT(1) NULL, - lastmodified INT(11) UNSIGNED, - UNIQUE(principaluri, uri) - ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; - --> -<table> - <name>*dbprefix*calendarsubscriptions</name> - <declaration> - <field> - <name>id</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <autoincrement>1</autoincrement> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>uri</name> - <type>text</type> - </field> - <field> - <name>principaluri</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>source</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>displayname</name> - <type>text</type> - <length>100</length> - </field> - <field> - <name>refreshrate</name> - <type>text</type> - <length>10</length> - </field> - <field> - <name>calendarorder</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <unsigned>true</unsigned> - </field> - <field> - <name>calendarcolor</name> - <type>text</type> - </field> - <field> - <name>striptodos</name> - <type>integer</type> - <length>1</length> - </field> - <field> - <name>stripalarms</name> - <type>integer</type> - <length>1</length> - </field> - <field> - <name>stripattachments</name> - <type>integer</type> - <length>1</length> - </field> - <field> - <name>lastmodified</name> - <type>integer</type> - <unsigned>true</unsigned> - </field> - <index> - <name>calsub_index</name> - <unique>true</unique> - <field> - <name>principaluri</name> - </field> - <field> - <name>uri</name> - </field> - </index> - </declaration> -</table> - <!-- - CREATE TABLE schedulingobjects ( - id INT(11) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, - principaluri VARBINARY(255), - calendardata MEDIUMBLOB, - uri VARBINARY(200), - lastmodified INT(11) UNSIGNED, - etag VARBINARY(32), - size INT(11) UNSIGNED NOT NULL - ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; - --> - - <table> - <name>*dbprefix*schedulingobjects</name> - <declaration> - <field> - <name>id</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <autoincrement>1</autoincrement> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>principaluri</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>calendardata</name> - <type>blob</type> - </field> - <field> - <name>uri</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>lastmodified</name> - <type>integer</type> - <unsigned>true</unsigned> - </field> - <field> - <name>etag</name> - <type>text</type> - <length>32</length> - </field> - <field> - <name>size</name> - <type>integer</type> - <notnull>true</notnull> - <unsigned>true</unsigned> - <length>11</length> - </field> - - </declaration> - </table> - - <table> - <name>*dbprefix*cards_properties</name> - <declaration> - <field> - <name>id</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <autoincrement>1</autoincrement> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>addressbookid</name> - <type>integer</type> - <default></default> - <notnull>true</notnull> - <length>11</length> - </field> - <field> - <name>cardid</name> - <type>integer</type> - <default></default> - <notnull>true</notnull> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>name</name> - <type>text</type> - <default></default> - <notnull>false</notnull> - <length>64</length> - </field> - <field> - <name>value</name> - <type>text</type> - <default></default> - <notnull>false</notnull> - <length>255</length> - </field> - <field> - <name>preferred</name> - <type>integer</type> - <default>1</default> - <notnull>true</notnull> - <length>4</length> - </field> - <index> - <name>card_contactid_index</name> - <field> - <name>cardid</name> - <sorting>ascending</sorting> - </field> - </index> - <index> - <name>card_name_index</name> - <field> - <name>name</name> - <sorting>ascending</sorting> - </field> - </index> - <index> - <name>card_value_index</name> - <field> - <name>value</name> - <sorting>ascending</sorting> - </field> - </index> - </declaration> - </table> - - <table> - <name>*dbprefix*calendarobjects_props</name> - <declaration> - <field> - <name>id</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <autoincrement>1</autoincrement> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>calendarid</name> - <type>integer</type> - <default></default> - <notnull>true</notnull> - <length>11</length> - </field> - <field> - <name>objectid</name> - <type>integer</type> - <default></default> - <notnull>true</notnull> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>name</name> - <type>text</type> - <default></default> - <notnull>false</notnull> - <length>64</length> - </field> - <field> - <name>parameter</name> - <type>text</type> - <default></default> - <notnull>false</notnull> - <length>64</length> - </field> - <field> - <name>value</name> - <type>text</type> - <default></default> - <notnull>false</notnull> - <length>255</length> - </field> - <index> - <name>calendarobject_index</name> - <field> - <name>objectid</name> - <sorting>ascending</sorting> - </field> - </index> - <index> - <name>calendarobject_name_index</name> - <field> - <name>name</name> - <sorting>ascending</sorting> - </field> - </index> - <index> - <name>calendarobject_value_index</name> - <field> - <name>value</name> - <sorting>ascending</sorting> - </field> - </index> - </declaration> - </table> - - <table> - <name>*dbprefix*dav_shares</name> - <declaration> - <field> - <name>id</name> - <type>integer</type> - <default>0</default> - <notnull>true</notnull> - <autoincrement>1</autoincrement> - <unsigned>true</unsigned> - <length>11</length> - </field> - <field> - <name>principaluri</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>type</name> - <type>text</type> - <length>255</length> - </field> - <field> - <name>access</name> - <type>integer</type> - <length>1</length> - </field> - <field> - <name>resourceid</name> - <type>integer</type> - <notnull>true</notnull> - <unsigned>true</unsigned> - </field> - <field> - <name>publicuri</name> - <type>text</type> - <length>255</length> - </field> - <index> - <name>dav_shares_index</name> - <unique>true</unique> - <field> - <name>principaluri</name> - </field> - <field> - <name>resourceid</name> - </field> - <field> - <name>type</name> - </field> - <field> - <name>publicuri</name> - </field> - </index> - </declaration> - </table> -</database> diff --git a/apps/dav/appinfo/info.xml b/apps/dav/appinfo/info.xml index 8be603ee930..3d3bff52ea1 100644 --- a/apps/dav/appinfo/info.xml +++ b/apps/dav/appinfo/info.xml @@ -5,7 +5,7 @@ <description>WebDAV endpoint</description> <licence>AGPL</licence> <author>owncloud.org</author> - <version>1.4.0</version> + <version>1.4.1</version> <default_enable/> <types> <filesystem/> |