Skip to content

Commit

Permalink
chore: drop index before dropping column because SQLite errors otherwise
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Nov 15, 2021
1 parent 637150b commit 7689e54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/migrations/20210608_add_uuid_to_webhook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

down do
alter_table(:triggered_webhooks) do
drop_index([:uuid], name: "triggered_webhooks_uuid")
drop_column(:uuid)
end
end
Expand Down

0 comments on commit 7689e54

Please sign in to comment.