Skip to content

Commit

Permalink
Add if_exists: true to the table drop JIC we drop it before running
Browse files Browse the repository at this point in the history
  • Loading branch information
tiegz committed May 1, 2024
1 parent f17c4c0 commit 576bd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20240429182104_drop_repository_dependency.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
class DropRepositoryDependency < ActiveRecord::Migration[7.0]
def change
drop_view :project_dependent_repositories, materialized: true
drop_table :repository_dependencies
drop_table :repository_dependencies, if_exists: true
end
end

0 comments on commit 576bd92

Please sign in to comment.