Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-08-07 12:53:39 +0400
committerJakob Sack <kde@jakobsack.de>2011-08-07 12:53:39 +0400
commit8876ae0e9821e3207003ee179c1e51020a0f6ee6 (patch)
treed8dbd5731d68f44ed32bf5f8d89d5ddb84d5067e /db_structure.xml
parent60cb7c1c4dddd6693eff1e1f885b58af81a51e9e (diff)
Add two tables to db scheme file
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml96
1 files changed, 96 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml
index c24c2c669ac..ddb8c44d19d 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -312,6 +312,102 @@
<table>
+ <name>*dbprefix*principalgroups</name>
+
+ <declaration>
+
+ <field>
+ <name>id</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <autoincrement>1</autoincrement>
+ <unsigned>true</unsigned>
+ <length>4</length>
+ </field>
+
+ <field>
+ <name>principal_id</name>
+ <type>integer</type>
+ <default></default>
+ <notnull>true</notnull>
+ <unsigned>true</unsigned>
+ <length>4</length>
+ </field>
+
+ <field>
+ <name>member_id</name>
+ <type>integer</type>
+ <default></default>
+ <notnull>true</notnull>
+ <unsigned>true</unsigned>
+ <length>4</length>
+ </field>
+
+ <index>
+ <name>principals_members_index</name>
+ <unique>true</unique>
+ <field>
+ <name>principal_id</name>
+ <sorting>ascending</sorting>
+ </field>
+ <field>
+ <name>member_id</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
+ </declaration>
+
+ </table>
+
+ <table>
+
+ <name>*dbprefix*principals</name>
+
+ <declaration>
+
+ <field>
+ <name>id</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <autoincrement>1</autoincrement>
+ <unsigned>true</unsigned>
+ <length>4</length>
+ </field>
+
+ <field>
+ <name>uri</name>
+ <type>text</type>
+ <default></default>
+ <notnull>false</notnull>
+ <length>255</length>
+ </field>
+
+ <field>
+ <name>displayname</name>
+ <type>text</type>
+ <default></default>
+ <notnull>false</notnull>
+ <length>255</length>
+ </field>
+
+ <index>
+ <name>uri</name>
+ <unique>true</unique>
+ <field>
+ <name>uri</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
+ </declaration>
+
+ </table>
+
+ <table>
+
<name>*dbprefix*properties</name>
<declaration>