Skip to content

Commit

Permalink
Don't remove non-existent foreign key
Browse files Browse the repository at this point in the history
  • Loading branch information
robbevp committed Oct 29, 2023
1 parent d555bbe commit fd47eb0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion db/migrate/20231020152736_create_subscriptions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def change
t.references :subscription, foreign_key: true, null: true
t.index %i[external_id subscription_id], unique: true
t.remove_index %i[external_id feed_id], unique: true
t.remove_foreign_key :feeds
end

change_table :rss_feeds, bulk: true do |t|
Expand Down

0 comments on commit fd47eb0

Please sign in to comment.