mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fix inconsistent variable name $after_column
This commit is contained in:
parent
8bcc368f3a
commit
c5628ee893
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ class DBMySQL extends DB
|
||||||
* @param boolean $notnull not null status, default value is false
|
* @param boolean $notnull not null status, default value is false
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function addColumn($table_name, $column_name, $type = 'number', $size = '', $default = null, $notnull = false, $after = null)
|
function addColumn($table_name, $column_name, $type = 'number', $size = '', $default = null, $notnull = false, $after_column = null)
|
||||||
{
|
{
|
||||||
$type = strtolower($type);
|
$type = strtolower($type);
|
||||||
$type = isset($this->column_type[$type]) ? $this->column_type[$type] : $type;
|
$type = isset($this->column_type[$type]) ? $this->column_type[$type] : $type;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue