forked from wallabag/wallabag
Added hardcoded SQL for migration to 2.2
This commit is contained in:
@ -55,7 +55,7 @@ class Version20161128131503 extends AbstractMigration implements ContainerAwareI
|
||||
|
||||
foreach ($this->fields as $field => $type) {
|
||||
$this->skipIf($userTable->hasColumn($field), 'It seems that you already played this migration.');
|
||||
$userTable->addColumn($field, $type);
|
||||
$userTable->addColumn($field, $type, ['notnull' => false]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user