summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorOliver Gasser <oliver.gasser@gmail.com>2013-11-10 14:14:27 +0100
committerOliver Gasser <oliver.gasser@gmail.com>2013-11-10 14:15:33 +0100
commitb278356eb92e50cd2d0016e78319d50d943bca41 (patch)
tree437546cc0f7e3eb37d2d5f15e3bcb5d409e6d350 /tests/data
parent841c62208551425361f311969260e95eded9101a (diff)
downloadnextcloud-server-b278356eb92e50cd2d0016e78319d50d943bca41.tar.gz
nextcloud-server-b278356eb92e50cd2d0016e78319d50d943bca41.zip
DB: Set correct default value for numeric types
Set 0 as default value for columns with numeric data type instead of the empty string ''. Otherwise the database complains about an invalid default value for this column. To reproduce put the following in your ````appinfo/database.xml````: ```` <field> <name>modified</name> <type>decimal</type> <default/> <notnull>true</notnull> <length>15</length> </field> ```` See owncloud/mozilla_sync#14
Diffstat (limited to 'tests/data')
0 files changed, 0 insertions, 0 deletions