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

Study and credit online_migrations #75

Open
kaaveland opened this issue May 21, 2024 · 1 comment
Open

Study and credit online_migrations #75

kaaveland opened this issue May 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kaaveland
Copy link
Owner

This looks like an excellent resource, and I can see some new patterns in the README: https://github.com/fatkodima/online_migrations

@kaaveland kaaveland added the enhancement New feature or request label May 21, 2024
@kaaveland
Copy link
Owner Author

Didn't know you could drop indexes concurrently 💡

We can warn about adding short IDs as primary keys int4. 🤔

I feel like we're already handling adding multiple foreign keys in one migration ok, since we allow adding them as NOT VALID and ask to validate them separately.

It suggests dropping foreign keys before dropping the referencing table, will look into that.

Didn't know that postgres allows the "Mismatched reference column types" case, will have to look into that too.

All these seem manageable/easy to add to the tracer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant