summaryrefslogtreecommitdiffstats
path: root/apps/calendar/appinfo
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-01-31 21:26:09 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-01-31 21:26:09 +0100
commit32bff22dc7bf46df33b4d9d7e3a4791d21639ea8 (patch)
tree08cf815722ec8f404193229553bdaf6124e03b75 /apps/calendar/appinfo
parent64a617b2a1016108c946cc533875a40030bbd317 (diff)
downloadnextcloud-server-32bff22dc7bf46df33b4d9d7e3a4791d21639ea8.tar.gz
nextcloud-server-32bff22dc7bf46df33b4d9d7e3a4791d21639ea8.zip
change db structure of calendar for sharing calendars
Diffstat (limited to 'apps/calendar/appinfo')
-rw-r--r--apps/calendar/appinfo/database.xml94
1 files changed, 94 insertions, 0 deletions
diff --git a/apps/calendar/appinfo/database.xml b/apps/calendar/appinfo/database.xml
index 7f7b6457559..5ae4dafd39d 100644
--- a/apps/calendar/appinfo/database.xml
+++ b/apps/calendar/appinfo/database.xml
@@ -187,5 +187,99 @@
</declaration>
</table>
+
+ <table>
+
+ <name>*dbprefix*calendar_share_event</name>
+
+ <declaration>
+
+ <field>
+ <name>owner</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>255</length>
+ </field>
+
+ <field>
+ <name>share</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>255</length>
+ </field>
+
+ <field>
+ <name>sharetype</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>5</length>
+ </field>
+
+ <field>
+ <name>eventid</name>
+ <type>integer</type>
+ <default></default>
+ <notnull>true</notnull>
+ <unsigned>true</unsigned>
+ <length>11</length>
+ </field>
+
+ <field>
+ <name>permissions</name>
+ <type>integer</type>
+ <notnull>true</notnull>
+ <length>1</length>
+ </field>
+
+ </declaration>
+
+ </table>
+
+ <table>
+
+ <name>*dbprefix*calendar_share_calendar</name>
+
+ <declaration>
+
+ <field>
+ <name>owner</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>255</length>
+ </field>
+
+ <field>
+ <name>share</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>255</length>
+ </field>
+
+ <field>
+ <name>sharetype</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>5</length>
+ </field>
+
+ <field>
+ <name>calendarid</name>
+ <type>integer</type>
+ <default></default>
+ <notnull>true</notnull>
+ <unsigned>true</unsigned>
+ <length>11</length>
+ </field>
+ <field>
+ <name>permissions</name>
+ <type>integer</type>
+ <notnull>true</notnull>
+ <length>1</length>
+ </field>
+
+ </declaration>
+
+ </table>
+
</database>