From 20ce178924cbb9c5488ec7c7a76e8d995f5591d6 Mon Sep 17 00:00:00 2001 From: Bethuel Mmbaga Date: Fri, 24 May 2024 12:29:26 +0300 Subject: [PATCH] dump postgres data with column names (#193) --- src/pages/selfhosted/postgres-store.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/selfhosted/postgres-store.mdx b/src/pages/selfhosted/postgres-store.mdx index 333a28da..ce5cdf22 100644 --- a/src/pages/selfhosted/postgres-store.mdx +++ b/src/pages/selfhosted/postgres-store.mdx @@ -142,7 +142,7 @@ For migrating the Postgres data, we rely on the `pg_dump`, `sed`, and `sqlite3` 1. Export Postgres data ```bash -pg_dump --data-only --inserts "postgresql://:@:/" > data.sql +pg_dump --data-only --column-inserts "postgresql://:@:/" > data.sql ``` 2. Convert exported Postgres data sql to Sqlite format