summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-02-26 20:42:45 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-02-26 20:42:45 +0100
commit459b5086d56d97b2ccf42b1fd50a7924883b6c7a (patch)
tree2f4f97a42a0e3a79007eb5ca04e71557b5aed5c1 /tests/data
parent7f05c23231b7f77ccc155cdc229e1ae21267e0e5 (diff)
downloadnextcloud-server-459b5086d56d97b2ccf42b1fd50a7924883b6c7a.tar.gz
nextcloud-server-459b5086d56d97b2ccf42b1fd50a7924883b6c7a.zip
adding test for migrations on columns using keywords
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/db_structure.xml15
-rw-r--r--tests/data/db_structure2.xml15
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/data/db_structure.xml b/tests/data/db_structure.xml
index d98066c4b7e..5fffd5475f9 100644
--- a/tests/data/db_structure.xml
+++ b/tests/data/db_structure.xml
@@ -223,4 +223,19 @@
</declaration>
</table>
+<table>
+ <name>*dbprefix*migratekeyword</name>
+
+ <declaration>
+
+ <field>
+ <name>key</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>255</length>
+ </field>
+ </declaration>
+</table>
+
</database>
diff --git a/tests/data/db_structure2.xml b/tests/data/db_structure2.xml
index ae5f22e9573..aa6e94a2a84 100644
--- a/tests/data/db_structure2.xml
+++ b/tests/data/db_structure2.xml
@@ -119,4 +119,19 @@
</declaration>
</table>
+ <table>
+ <name>*dbprefix*migratekeyword</name>
+
+ <declaration>
+
+ <field>
+ <name>key</name>
+ <type>text</type>
+ <default></default>
+ <notnull>false</notnull>
+ <length>255</length>
+ </field>
+ </declaration>
+ </table>
+
</database>