RSSAmplifier

stuartm.nz

Migrate SQLite to PostgreSQL with pgloader

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

I recently needed to change one of my Django apps from using SQLite to PostgreSQL. I thought it was going to be challenging to move the data from the SQLite database file to my PostgreSQL server, but it couldn't have been easier! ✨ After installing pgloader with a simple apt install pgloader command, I ran the following command to move the data: pgloader sqlite:///path/to/my/db.sqlite3…

Read on stuartm.nz

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.