Migration scripts? #2726
Unanswered
christian-oudard
asked this question in
Q&A
Replies: 1 comment 1 reply
-
That would require access to the full |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So, I am doing a migration which needs to port data to the new schema. The query to do that looks something like this:
Unfortunately, we have to deploy this on an environment using SQLite 3.22, which doesn't support
UPDATE FROM
. The only way to do this data manipulation is with multiple queries, which would require a script to connect the inputs of one query to the outputs of another query.Is there a way to do scripted migrations in diesel? Does
barrel
support something like this?Beta Was this translation helpful? Give feedback.
All reactions