[Reputation Oracle] Squash migrations - #3461
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 5 Skipped Deployments
|
dnechay
reviewed
Jul 16, 2025
dnechay
left a comment
Collaborator
There was a problem hiding this comment.
LGTM
Tested release plan steps on my existing local DB and got successful results
Please update yarn build yarn migration:run -> to just yarn migration:run in PR description
Few notes on the release plan:
- I suppose that migration might be run from local instead of changing back and forth pre-deploy command on render
- maybe once we apply new migration, we also cleanup history of migrations in
public/migrations_typeormtable? or we going to keep it intentionally?
Contributor
Author
Yep, I just mentioned the commands to run locally. IMO we should run it that way instead of modifying render command
I think it is good to have in that table all the history of what we have already deployed. I would just add the new migration without modifying the migration table. |
dnechay
approved these changes
Jul 16, 2025
Dzeranov
approved these changes
Jul 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue tracking
#3347
Context behind the change
How has this been tested?
Release plan
yarn migration:runyarn migration:run --fakePotential risks; What to monitor; Rollback plan
Before running any STG/PROD migration, create a backup of the database in case any error happened. In case anything fails, restore the backup. (It is possible to create them inside Vercel dashboard)