Replies: 1 comment 10 replies
|
I suggest to try if you are able to only generate all the inserts. And remove all the schema stuff from your conversion. Then also remove the migration table from your export. After that, start Vaultwarden with no sqlite file at all so that it will create a new empty one. Stop Vaultwarden and then use that sqlite file and your converted file together. Some basics are also mentioned here. |
10 replies
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.
I am moving from a postgres installation to a sqlite installation...
I ported the database using the ruby tool sequel:
sequel -C <src-postgres> <target-sqlite>The sqlite file doesn't have the right migrations so the system blows up on startup. This makes sense looking at the migrations directory - each directory has slightly different migration histories.
I think I will try to create dummy migrations and see if that works...
Anyone else tried this?
All reactions