Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove data migrations workflow/gem #2042

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,3 @@ gem 'kaminari', '~> 1.2'

# Encrypt attrs
gem 'attr_encrypted'

gem 'data_migrate', '~> 9.2.0'
4 changes: 0 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ GEM
cuprite (0.13)
capybara (>= 2.1, < 4)
ferrum (~> 0.11.0)
data_migrate (9.2.0)
activerecord (>= 6.1)
railties (>= 6.1)
db-query-matchers (0.11.0)
activesupport (>= 4.0, < 7.1)
rspec (>= 3.0)
Expand Down Expand Up @@ -460,7 +457,6 @@ DEPENDENCIES
clearance
counter_culture (~> 3.3)
cuprite
data_migrate (~> 9.2.0)
db-query-matchers
delayed_job_active_record (~> 4.1)
dotenv-rails
Expand Down
5 changes: 0 additions & 5 deletions ansible/roles/installation/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,3 @@
command:
cmd: docker compose -f docker-compose.yml -f docker-compose.prod.yml exec app bin/rails db:migrate
chdir: /home/ansible

- name: Run data migrations
command:
cmd: docker compose -f docker-compose.yml -f docker-compose.prod.yml exec app bin/rails data:migrate
chdir: /home/ansible
58 changes: 0 additions & 58 deletions db/data/20240717080438_scope_settings_to_organizations.rb

This file was deleted.

29 changes: 0 additions & 29 deletions db/data/20240722092527_add_organization_id_to_requests.rb

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions db/data/20240726063319_add_organization_id_to_taggings.rb

This file was deleted.

15 changes: 0 additions & 15 deletions db/data/20240730085839_rebuild_pg_search_multi_search.rb

This file was deleted.

13 changes: 0 additions & 13 deletions db/data/20240812102718_migrate_users_to_users_organizations.rb

This file was deleted.

Loading