summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-04-17 16:12:48 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-06-06 13:33:56 +0200
commitfe8bae31dc80ac832323fa8d9a75fd4b543d36e0 (patch)
treefedada14b0c6e7ad32fa588f438aa0e1cf243045 /apps
parentc47d4ebbac7885ad91cf56355bd6aa09318ff8e8 (diff)
downloadnextcloud-server-fe8bae31dc80ac832323fa8d9a75fd4b543d36e0.tar.gz
nextcloud-server-fe8bae31dc80ac832323fa8d9a75fd4b543d36e0.zip
adding PK to table encryption
adding auto increment/PK to table files_trash adding PK to table ldap_user_mapping and ldap_group_members adding PK to table ldap_group_mapping truncate permissions table to allow smooth creation of primary key adding unit test for creating an auto increment column on a table which already contains data remove unneeded table files_trashsizes fix unit test no need to truncate *PREFIX*permissions On Oracle adding auto increment columns is not working out of the box - Oracle migrations are to be done manually
Diffstat (limited to 'apps')
-rw-r--r--apps/files_trashbin/appinfo/database.xml9
-rw-r--r--apps/files_trashbin/appinfo/version2
-rw-r--r--apps/user_ldap/appinfo/database.xml5
3 files changed, 14 insertions, 2 deletions
diff --git a/apps/files_trashbin/appinfo/database.xml b/apps/files_trashbin/appinfo/database.xml
index a6ba242c1cf..2944a31b02d 100644
--- a/apps/files_trashbin/appinfo/database.xml
+++ b/apps/files_trashbin/appinfo/database.xml
@@ -13,6 +13,15 @@
<declaration>
+ <field>
+ <name>auto_id</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <autoincrement>1</autoincrement>
+ <length>4</length>
+ </field>
+
<field>
<name>id</name>
<type>text</type>
diff --git a/apps/files_trashbin/appinfo/version b/apps/files_trashbin/appinfo/version
index 5a2a5806df6..ee6cdce3c29 100644
--- a/apps/files_trashbin/appinfo/version
+++ b/apps/files_trashbin/appinfo/version
@@ -1 +1 @@
-0.6
+0.6.1
diff --git a/apps/user_ldap/appinfo/database.xml b/apps/user_ldap/appinfo/database.xml
index 812e450dde7..4875a70f852 100644
--- a/apps/user_ldap/appinfo/database.xml
+++ b/apps/user_ldap/appinfo/database.xml
@@ -46,6 +46,7 @@
<index>
<name>owncloud_name_users</name>
+ <primary>true</primary>
<unique>true</unique>
<field>
<name>owncloud_name</name>
@@ -90,6 +91,7 @@
<index>
<name>ldap_dn_groups</name>
<unique>true</unique>
+ <primary>true</primary>
<field>
<name>ldap_dn</name>
</field>
@@ -132,6 +134,7 @@
<index>
<name>ldap_group_members_index</name>
<unique>true</unique>
+ <primary>true</primary>
<field>
<name>owncloudname</name>
</field>
@@ -141,4 +144,4 @@
</table>
-</database> \ No newline at end of file
+</database>