summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml63
1 files changed, 10 insertions, 53 deletions
diff --git a/db_structure.xml b/db_structure.xml
index ed4954c02b2..0791270a4b9 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -351,7 +351,16 @@
<length>40</length>
</field>
- <index>
+ <field>
+ <name>permissions</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>false</notnull>
+ <length>4</length>
+ </field>
+
+
+ <index>
<name>fs_storage_path_hash</name>
<unique>true</unique>
<field>
@@ -422,58 +431,6 @@
<table>
<!--
- Maps (fileid, user) to an integer which is a permission bitfield.
- - E.g. (4, admin) -> 27
- -->
- <name>*dbprefix*permissions</name>
-
- <declaration>
-
- <!-- Foreign Key filecache::fileid -->
- <field>
- <name>fileid</name>
- <type>integer</type>
- <default>0</default>
- <notnull>true</notnull>
- <length>4</length>
- </field>
-
- <!-- Foreign Key users::uid -->
- <field>
- <name>user</name>
- <type>text</type>
- <default></default>
- <notnull>false</notnull>
- <length>64</length>
- </field>
-
- <field>
- <name>permissions</name>
- <type>integer</type>
- <default>0</default>
- <notnull>true</notnull>
- <length>4</length>
- </field>
-
- <index>
- <name>id_user_index</name>
- <field>
- <name>fileid</name>
- <sorting>ascending</sorting>
- </field>
- <field>
- <name>user</name>
- <sorting>ascending</sorting>
- </field>
- </index>
-
- </declaration>
-
- </table>
-
- <table>
-
- <!--
Stores which groups have which users as members in an n:m relationship.
- Maps group id (gid) to a set of users (uid)
- Maps user id (uid) to a set of groups (gid) (but without index)