scripts/db: update documentation, add pg -> sqlite section (#6177)

* scripts/db: update doc

* scripts/db: update documentation, add pg2sqlite script

* scripts/db/pg2sqlite: formatiing, code quality, modularity

* scripts/db: parallel pgloader
This commit is contained in:
sh authored and GitHub committed 2025-09-15 14:06:39 +01:00
1 parent e9961ebb8e
commit 7c92c7666c
3 files changed
+1197 -63

No files matched your search

+2 -1
View File
@@ -10,7 +10,8 @@ LOAD DATABASE
-- pgloader implementation doesn't find "GENERATED ALWAYS AS IDENTITY" sequences,
-- instead we reset sequences manually via custom query after load
reset no sequences,
data only
data only,
workers = {{WORKERS}}
EXCLUDING TABLE NAMES LIKE 'migrations', 'sqlite_sequence'