diff options
-rw-r--r-- | core/Migrations/Version21000Date20201120141228.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Migrations/Version21000Date20201120141228.php b/core/Migrations/Version21000Date20201120141228.php index d3b97c1fd72..bbf77093fb8 100644 --- a/core/Migrations/Version21000Date20201120141228.php +++ b/core/Migrations/Version21000Date20201120141228.php @@ -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; } } |