Drop attributes on oc_share table
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
3373eff308
commit
1fe7836c8d
|
@ -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