Fix column name to check prior to deleting
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
fb0067a777
commit
1142b17cda
|
@ -40,7 +40,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