diff options
author | Oliver Gasser <oliver@flowriver.net> | 2013-12-18 23:40:11 +0100 |
---|---|---|
committer | Oliver Gasser <oliver@flowriver.net> | 2013-12-18 23:40:11 +0100 |
commit | cacb66480b4bebc8511842bcc588ffd750ef0c38 (patch) | |
tree | b7871ce1892b6c443fa87c35a0b34857ecdd212c /tests/data | |
parent | f0962c99dcebdb1d58033eb1b33d57cf48d88bf7 (diff) | |
download | nextcloud-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.xml | 3 | ||||
-rw-r--r-- | tests/data/db_structure2.xml | 3 |
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> |