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

Migrating data stored as Json[] in 2.12.0 #4346

Closed
matthewmueller opened this issue Nov 24, 2020 · 0 comments
Closed

Migrating data stored as Json[] in 2.12.0 #4346

matthewmueller opened this issue Nov 24, 2020 · 0 comments
Labels
kind/feedback Issue for gathering feedback. topic: Json Scalar type `Json`

Comments

@matthewmueller
Copy link
Contributor

From the Release Notes:

We fixed how the Json[] type is stored in 2.12.0. Previously we were storing JSON arrays as a string inside a your database's json column. Now we properly encode JSON arrays as json in the database. This fix will allow us to add database native JSON operations down the line.

If you are using the Json[] type in your schema, you'll need to migrate your data. We anticipate this breaking change will only affect a handful of folks. Please reach out to us in this issue and we'll help you with the migration.

If you're one of these unlucky folks, please post your schema here and we'll try to help you migrate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feedback Issue for gathering feedback. topic: Json Scalar type `Json`
Projects
None yet
Development

No branches or pull requests

2 participants