Skip to content

Commit 572479d

Browse files
committed
[smarcet] - #11348
* changed default value from NULL to 0 (SS thing)
1 parent ec5b750 commit 572479d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openstack/code/utils/DB/NullAbleForeignKey.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ class NullAbleForeignKey extends ForeignKey
1616
{
1717
public function __construct($name, $object = null) {
1818
parent::__construct($name, $object);
19-
$this->defaultVal = null ;
19+
$this->defaultVal = 0 ;
2020
}
2121

2222
public function nullValue() {
23-
return "NULL";
23+
return "0";
2424
}
2525

2626
public function requireField() {

0 commit comments

Comments
 (0)