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

3931 - yarn migration-steps:reset #3979

Merged
merged 16 commits into from
Oct 4, 2024
Merged

Conversation

sorja
Copy link
Contributor

@sorja sorja commented Sep 30, 2024

Developers note:
Updated create-migration-step.sh to createMigrationStep.ts

--

  • move migration to tools/ (another PR)
  • execute first migration-steps reset (another PR)

  • In this video we first inspect the migrations.steps table, showing our old/ran migrations
  • Then we run the reset step
    • We check the git status showing the removed files
    • We check again migrations.steps table, showing only a single row for the new reset step
reset-flow.mp4

@sorja sorja linked an issue Sep 30, 2024 that may be closed by this pull request
3 tasks
src/test/migrations/reset.ts Outdated Show resolved Hide resolved
@sorja sorja self-assigned this Oct 1, 2024
@minotogna
Copy link
Member

@sorja does this pr needs more work ?

@sorja
Copy link
Contributor Author

sorja commented Oct 1, 2024

@sorja does this pr needs more work ?

Yes, tryint to find a good way for userA and userB be in sync after migrations reset (see pr desc)

@sorja sorja marked this pull request as ready for review October 2, 2024 07:22
@mergify mergify bot merged commit bb8c59d into development Oct 4, 2024
5 checks passed
@mergify mergify bot deleted the 3931-migrations-stepsreset branch October 4, 2024 17:21
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.

migrations-steps:reset
2 participants