summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-09-12 22:36:28 +0200
committerAndreas Fischer <bantu@owncloud.com>2013-09-12 23:43:21 +0200
commitbd1163b7d571f13d7a2a90e559661b4b2e955917 (patch)
treee22c0421526290fa1b0a08e5490695b899bd5020 /tests/data
parent786017c2472067997239f7b225ed22fd24cab264 (diff)
downloadnextcloud-server-bd1163b7d571f13d7a2a90e559661b4b2e955917.tar.gz
nextcloud-server-bd1163b7d571f13d7a2a90e559661b4b2e955917.zip
Add database tests for INSERT/SELECT date format.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/db_structure.xml21
-rw-r--r--tests/data/db_structure2.xml21
2 files changed, 42 insertions, 0 deletions
diff --git a/tests/data/db_structure.xml b/tests/data/db_structure.xml
index 8f6dc5e2ecd..2e83bbb78c7 100644
--- a/tests/data/db_structure.xml
+++ b/tests/data/db_structure.xml
@@ -178,4 +178,25 @@
</declaration>
</table>
+ <table>
+ <name>*dbprefix*timestamp</name>
+ <declaration>
+ <field>
+ <name>id</name>
+ <autoincrement>1</autoincrement>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <length>4</length>
+ </field>
+
+ <field>
+ <name>timestamptest</name>
+ <type>timestamp</type>
+ <default></default>
+ <notnull>false</notnull>
+ </field>
+ </declaration>
+ </table>
+
</database>
diff --git a/tests/data/db_structure2.xml b/tests/data/db_structure2.xml
index 6f12f81f477..bbfb24985cb 100644
--- a/tests/data/db_structure2.xml
+++ b/tests/data/db_structure2.xml
@@ -75,4 +75,25 @@
</table>
+ <table>
+ <name>*dbprefix*timestamp</name>
+ <declaration>
+ <field>
+ <name>id</name>
+ <autoincrement>1</autoincrement>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <length>4</length>
+ </field>
+
+ <field>
+ <name>timestamptest</name>
+ <type>timestamp</type>
+ <default></default>
+ <notnull>false</notnull>
+ </field>
+ </declaration>
+ </table>
+
</database>