-
|
Does Drift have an easy to use way to migrate between database systems? Or will I be required to hack together a solution myself? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
There is no built-in migration from SQLite to PostgreSQL in drift. In terms of hacking something together, you could start using PostgreSQL with an existing drift database (see postgres support), and then open two instances of your database to start copying tables from SQLite to Postgres. You could also do this offline by using drift to generate a batch of SQL statements doing the writes beforehand with tricks like these used for testing. |
Beta Was this translation helpful? Give feedback.
There is no built-in migration from SQLite to PostgreSQL in drift.
In terms of hacking something together, you could start using PostgreSQL with an existing drift database (see postgres support), and then open two instances of your database to start copying tables from SQLite to Postgres. You could also do this offline by using drift to generate a batch of SQL statements doing the writes beforehand with tricks like these used for testing.