mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
#19052585 : fixed the problem that default value is not set when it is 0
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7622 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d3a70e65aa
commit
fb538bb2e1
8 changed files with 8 additions and 8 deletions
|
|
@ -458,7 +458,7 @@ class DBPostgresql extends DB
|
|||
$size = 0;
|
||||
|
||||
$column_schema[] = sprintf('%s %s%s %s %s', $name, $this->column_type[$type], $size ?
|
||||
'(' . $size . ')' : '', $default ? "default '" . $default . "'" : '', $notnull ?
|
||||
'(' . $size . ')' : '', isset($default) ? "default '" . $default . "'" : '', $notnull ?
|
||||
'not null' : '');
|
||||
|
||||
if ($primary_key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue