diff --git a/updates/20200206_0006_remove_unique_constraint_from_items.php b/updates/20200206_0006_remove_unique_constraint_from_items.php index ca1fd35..93e36bd 100644 --- a/updates/20200206_0006_remove_unique_constraint_from_items.php +++ b/updates/20200206_0006_remove_unique_constraint_from_items.php @@ -19,7 +19,7 @@ public function up(): void public function down(): void { - Schema::table('vdlp_rssfetcher_sources', static function (Blueprint $table) { + Schema::table('vdlp_rssfetcher_items', static function (Blueprint $table) { $table->unique('item_id', 'item_id_unique'); }); } diff --git a/updates/version.yaml b/updates/version.yaml index 128a72e..c74bcb8 100644 --- a/updates/version.yaml +++ b/updates/version.yaml @@ -19,3 +19,4 @@ - "Replace Zend Framework with Laminas and added events" 2.1.0: "Fix Author parsing for Atom/RSS feeds" 2.2.0: Update plugin dependencies (minimum required PHP version 7.3) +2.2.1: "Fix error when performing a migration rollback"