Support an 'extra' clause when definining a column (e.g.: 'on update

CURRENT_TIMESTAMP').
This commit is contained in:
Zach Copley 2009-12-09 02:14:48 +00:00
parent ff26b8d88b
commit 9960ec2143
1 changed files with 4 additions and 0 deletions

View File

@ -528,6 +528,10 @@ class Schema
$sql .= " auto_increment ";
}
if (!empty($cd->extra)) {
$sql .= "{$cd->extra} ";
}
return $sql;
}
}