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

Conversation

mattwr18
Copy link
Contributor

These data migrations are meant to be run on production instances where we need to manipulate the data once and not to be run when setting up new instances. Also, if we skip a deploy on specific instances for some reason, which is not ideal, but does happen, there are too many considerations to be ideal.

We have a PR to make them more idempotent, but even so the first ones were written when all instances were single tenant and we could be sure there was only one organization, but after introducing multi-tenancy, there is another layer that must be considered.

Copy link
Collaborator

@roschaefer roschaefer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data

These data migrations are meant to be run on production instances where
we need to manipulate the data once and not to be run when setting up
new instances. Also, if we skip a deploy on specific instances for some
reason, which is not ideal, but does happen, there are too many
considerations to be ideal.

We have a PR to make them more idempotent, but even so the first ones
were written when all instances were single tenant and we could be sure
there was only one organization, but after introducing multi-tenancy,
there is another layer that must be considered.
@roschaefer roschaefer force-pushed the remove_data_migrations branch from 5122b6a to 11d7c2a Compare September 26, 2024 10:28
@roschaefer roschaefer enabled auto-merge (squash) September 26, 2024 10:29
@roschaefer roschaefer merged commit 5b04783 into main Sep 26, 2024
1 check passed
@roschaefer roschaefer deleted the remove_data_migrations branch September 26, 2024 10:32
mattwr18 added a commit that referenced this pull request Sep 27, 2024
These data migrations are meant to be run on production instances where
we need to manipulate the data once and not to be run when setting up
new instances. Also, if we skip a deploy on specific instances for some
reason, which is not ideal, but does happen, there are too many
considerations to be ideal.

We have a PR to make them more idempotent, but even so the first ones
were written when all instances were single tenant and we could be sure
there was only one organization, but after introducing multi-tenancy,
there is another layer that must be considered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants