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

Create a script that runs new field migrations #92

Open
MaxwellBo opened this issue Sep 27, 2020 · 0 comments
Open

Create a script that runs new field migrations #92

MaxwellBo opened this issue Sep 27, 2020 · 0 comments
Labels

Comments

@MaxwellBo
Copy link
Owner

There's a bunch of datatypes where I've added a new field to the schema but did not go back and update all the old instances.

You can find the value that should replace undefined in the DEFAULT_(.+) instances.

Make a backup of the database before performing this migration.

After the migration has been done, remove the undefined checks that were added to deal with the fact that the data lookups may have previously failed but will no longer.

@MaxwellBo MaxwellBo assigned MaxwellBo and unassigned MaxwellBo Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant