mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix default value handling for #2169
This commit is contained in:
parent
3fbb1327d2
commit
31fd79c71e
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ class Table
|
|||
{
|
||||
$columndef .= ' DEFAULT ' . $column->default_value;
|
||||
}
|
||||
elseif (preg_match('/^[a-z0-9_()]$/i', $column->default_value))
|
||||
elseif (preg_match('/^\w+\(\)$/', $column->default_value))
|
||||
{
|
||||
$columndef .= ' DEFAULT ' . $column->default_value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue