Skip to content

Commit

Permalink
[#377] Delete old fields from database
Browse files Browse the repository at this point in the history
  • Loading branch information
antlu committed Feb 6, 2023
1 parent 160b0ab commit 64f1551
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class DeleteObsoleteFieldsFromRepo < ActiveRecord::Migration[6.1]
def change
remove_columns :uffizzi_core_repos, :deploy_preview_when_pull_request_is_opened, :delete_preview_when_pull_request_is_closed, type: :boolean
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This migration comes from uffizzi_core (originally 20230203071725)
class DeleteObsoleteFieldsFromRepo < ActiveRecord::Migration[6.1]
def change
remove_columns :uffizzi_core_repos, :deploy_preview_when_pull_request_is_opened, :delete_preview_when_pull_request_is_closed, type: :boolean
end
end

0 comments on commit 64f1551

Please sign in to comment.