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

Offer to run migrations only if not recently added #553

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andyw8
Copy link
Contributor

@andyw8 andyw8 commented Jan 8, 2025

It may be too agressive to ask a user to run a migration which has just been created. But we do want to offer it for situations such as switching branches or pulling from a remote. As a middle-ground, we only offer to run migrations if the # migration was created more than a minute ago.

Addresses #540

Co-authored with @vinistock

@andyw8 andyw8 force-pushed the andyw8/offer-to-run-migrations-only-if-not-recently-added branch from fa84a4f to 77f986f Compare January 8, 2025 16:58
@andyw8 andyw8 added the enhancement New feature or request label Jan 8, 2025
@andyw8 andyw8 force-pushed the andyw8/offer-to-run-migrations-only-if-not-recently-added branch from 27001a1 to ff338d5 Compare January 8, 2025 17:01
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

Successfully merging this pull request may close these issues.

2 participants