diff --git a/core/db/migrate/20230203071725_delete_obsolete_fields_from_repo.rb b/core/db/migrate/20230203071725_delete_obsolete_fields_from_repo.rb new file mode 100644 index 00000000..c889dc7f --- /dev/null +++ b/core/db/migrate/20230203071725_delete_obsolete_fields_from_repo.rb @@ -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 diff --git a/db/migrate/20230203134111_delete_obsolete_fields_from_repo.uffizzi_core.rb b/db/migrate/20230203134111_delete_obsolete_fields_from_repo.uffizzi_core.rb new file mode 100644 index 00000000..e345141b --- /dev/null +++ b/db/migrate/20230203134111_delete_obsolete_fields_from_repo.uffizzi_core.rb @@ -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