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

Use migration generator & add a note about unlogged tables for PG #31

Merged
merged 4 commits into from
Aug 25, 2023

Conversation

skatkov
Copy link
Contributor

@skatkov skatkov commented Aug 25, 2023

This PR supersedes #20

I suggest for this gem to use migration generator, instead of linking to ruby file in migration. Many projects would prefer to not depend on anything in their migrations (not even Models).

I also added a note about unlogged tables for PostgreSQL. Using unlogged tables instead of regular tables worked quite well in our case, might be useful for others.

This might need to have some sort of release note wth a warning, so people will replace previous migration, since I removed that previous migration file. But I will leave that to you.

@skatkov skatkov marked this pull request as draft August 25, 2023 13:37
@skatkov skatkov marked this pull request as ready for review August 25, 2023 13:56
@skatkov skatkov changed the title Use migration generator Use migration generator & add a note about unlogged tables for PG Aug 25, 2023
@dim
Copy link
Member

dim commented Aug 25, 2023

Thanks!

@dim dim merged commit 329afb7 into bsm:main Aug 25, 2023
9 checks passed
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