Drop attributes on oc_share table
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
f276ccbbc3
commit
fe80a65c3e
|
@ -25,6 +25,13 @@ class Version21000Date20201120141228 extends SimpleMigrationStep {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($schema->hasTable('share')) {
|
||||||
|
$table = $schema->getTable('share');
|
||||||
|
if ($table->hasColumn('attributes')) {
|
||||||
|
$table->dropColumn('attributes');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $schema;
|
return $schema;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue