Fix column name to check prior to deleting
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
2dd04f76d2
commit
30c603c6b2
|
@ -62,7 +62,7 @@ class Version21000Date20201120141228 extends SimpleMigrationStep {
|
||||||
|
|
||||||
if ($schema->hasTable('systemtag')) {
|
if ($schema->hasTable('systemtag')) {
|
||||||
$table = $schema->getTable('systemtag');
|
$table = $schema->getTable('systemtag');
|
||||||
if ($table->hasColumn('systemtag')) {
|
if ($table->hasColumn('assignable')) {
|
||||||
$table->dropColumn('assignable');
|
$table->dropColumn('assignable');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue