forked from GNUsocial/gnu-social
tweak for mysql
This commit is contained in:
parent
9364e446b1
commit
7723d15cd0
@ -444,19 +444,15 @@ class MysqlSchema extends Schema
|
||||
function columnSql(array $cd)
|
||||
{
|
||||
$line = array();
|
||||
$line[] = parent::_columnSql($cd);
|
||||
$line[] = parent::columnSql($cd);
|
||||
|
||||
if ($cd['type'] == 'serial') {
|
||||
$line[] = 'auto_increment';
|
||||
}
|
||||
|
||||
if (!empty($cd['extra'])) {
|
||||
$line[] = $cd['extra']; // hisss boooo
|
||||
}
|
||||
|
||||
if (!empty($cd['description'])) {
|
||||
$line[] = 'comment';
|
||||
$line[] = $this->quote($cd['description']);
|
||||
$line[] = $this->quoteValue($cd['description']);
|
||||
}
|
||||
|
||||
return implode(' ', $line);
|
||||
|
Loading…
Reference in New Issue
Block a user