DB: Set correct default value for numeric types
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

bluelml/core,sharidas/core,michaelletzgus/nextcloud-server,pixelipo/server,owncloud/core,lrytz/core,michaelletzgus/nextcloud-server,jbicha/server,lrytz/core,IljaN/core,andreas-p/nextcloud-server,cernbox/core,jbicha/server,pollopolea/core,pollopolea/core,Ardinis/server,pixelipo/server,endsguy/server,sharidas/core,xx621998xx/server,andreas-p/nextcloud-server,IljaN/core,phil-davis/core,endsguy/server,lrytz/core,Ardinis/server,pixelipo/server,pollopolea/core,Ardinis/server,bluelml/core,cernbox/core,nextcloud/server,pixelipo/server,pollopolea/core,cernbox/core,pmattern/server,pmattern/server,IljaN/core,owncloud/core,IljaN/core,Ardinis/server,whitekiba/server,endsguy/server,IljaN/core,xx621998xx/server,whitekiba/server,jbicha/server,owncloud/core,endsguy/server,whitekiba/server,bluelml/core,sharidas/core,xx621998xx/server,pixelipo/server,Ardinis/server,sharidas/core,whitekiba/server,pollopolea/core,nextcloud/server,andreas-p/nextcloud-server,andreas-p/nextcloud-server,nextcloud/server,michaelletzgus/nextcloud-server,xx621998xx/server,pmattern/server,lrytz/core,cernbox/core,bluelml/core,endsguy/server,michaelletzgus/nextcloud-server,lrytz/core,jbicha/server,pmattern/server,sharidas/core,owncloud/core,xx621998xx/server,jbicha/server,cernbox/core,whitekiba/server,pmattern/server,owncloud/core,nextcloud/server,andreas-p/nextcloud-server,bluelml/core