summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorOliver Gasser <oliver@flowriver.net>2013-12-18 23:40:11 +0100
committerOliver Gasser <oliver@flowriver.net>2013-12-18 23:40:11 +0100
commitcacb66480b4bebc8511842bcc588ffd750ef0c38 (patch)
treeb7871ce1892b6c443fa87c35a0b34857ecdd212c /tests/data
parentf0962c99dcebdb1d58033eb1b33d57cf48d88bf7 (diff)
downloadnextcloud-server-cacb66480b4bebc8511842bcc588ffd750ef0c38.tar.gz
nextcloud-server-cacb66480b4bebc8511842bcc588ffd750ef0c38.zip
Add unit tests for decimal type usage
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/db_structure.xml3
-rw-r--r--tests/data/db_structure2.xml3
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/data/db_structure.xml b/tests/data/db_structure.xml
index 5f2edbbc516..bfff2143349 100644
--- a/tests/data/db_structure.xml
+++ b/tests/data/db_structure.xml
@@ -216,7 +216,8 @@
<type>decimal</type>
<default/>
<notnull>true</notnull>
- <length>15</length>
+ <precision>12</precision>
+ <scale>2</scale>
</field>
</declaration>
</table>
diff --git a/tests/data/db_structure2.xml b/tests/data/db_structure2.xml
index 6cd071451df..ae5f22e9573 100644
--- a/tests/data/db_structure2.xml
+++ b/tests/data/db_structure2.xml
@@ -113,7 +113,8 @@
<type>decimal</type>
<default/>
<notnull>true</notnull>
- <length>15</length>
+ <precision>12</precision>
+ <scale>2</scale>
</field>
</declaration>
</table>