Support an 'extra' clause when definining a column (e.g.: 'on update
CURRENT_TIMESTAMP').
This commit is contained in:
parent
ff26b8d88b
commit
9960ec2143
@ -528,6 +528,10 @@ class Schema
|
||||
$sql .= " auto_increment ";
|
||||
}
|
||||
|
||||
if (!empty($cd->extra)) {
|
||||
$sql .= "{$cd->extra} ";
|
||||
}
|
||||
|
||||
return $sql;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user