mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
BUGFIX Float should always be not null and default 0 in the database
This commit is contained in:
parent
e4f9c0387d
commit
0307d40a61
@ -899,7 +899,7 @@ class MSSQLDatabase extends SS_Database {
|
||||
* @return string
|
||||
*/
|
||||
public function float($values) {
|
||||
return 'float';
|
||||
return 'float not null default ' . $values['default'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user