Migrating Postgres to SQLite using the Sequel gem
05-Jul-2025 14
In my previous post, I wrote about exporting the postgres database for devlibrary from fly.io to a local file. Now, I want to convert that into a sqlite database, so I can get rid of the dependency on a separate database server.
The sequel gem allows connecting to one database, and dumping the contents into another.
First, let’s import that dump into local postgres database.
Migrating Postgres to SQLite using the Sequel gem #ruby #rubydeveloper #rubyonrails #Migrating #Postgres #SQLite #using #Sequel #gem #sqlite https://rubyonrails.ba/link/migrating-postgres-to-sqlite-using-the-sequel-gem