You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
4
4
5
5
## [7.0.12] - 2025-12-11
6
6
7
+
## [7.0.13] - 2025-12-11
8
+
9
+
### Fixed
10
+
11
+
-**SQLite re-runs are now deterministic**: `truncate_jsonb_table()` now logs at INFO level, verifies the target table is empty, and errors early if rows remain instead of failing later with duplicate primary keys.
12
+
-**`--drop-existing` works for SQLite**: When the flag is supplied, each JSONB table is dropped before recreation, ensuring a pristine schema even if manual changes were made to the target database.
13
+
14
+
### Added
15
+
16
+
-**`drop_jsonb_table()` helper**: Shared helper allows future workflows (and the SQLite path today) to explicitly remove JSONB tables when a clean rebuild is required.
17
+
7
18
### Added
8
19
9
20
-**Memory-efficient SQLite migration**: SQLite to PostgreSQL migration now processes rows in batches instead of loading entire tables into memory. This enables migration of large SQLite databases (7M+ rows, multi-GB files) without OOM errors. Batch size automatically adjusts based on available system memory.
Copy file name to clipboardExpand all lines: README-SQLite.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -560,7 +560,7 @@ No. The tool opens SQLite databases in **read-only mode**. It's impossible to mo
560
560
561
561
### Can I replicate the same database twice?
562
562
563
-
Re-running `init` will **drop and recreate** tables. All data will be replaced with fresh data from SQLite. This is useful for:
563
+
Re-running `init` will **clear**previously migrated tables (via truncate by default or a full drop when `--drop-existing` is supplied). All data will be replaced with fresh data from SQLite. This is useful for:
564
564
- Correcting errors in the first migration
565
565
- Refreshing data from an updated SQLite snapshot
566
566
@@ -570,7 +570,7 @@ SQLite replications are snapshot-only. For incremental updates:
570
570
571
571
1.**Option 1**: Periodic full re-migration
572
572
- Create SQLite backup/snapshot
573
-
- Re-run `init`with`--drop-existing`flag (implied in init)
573
+
- Re-run `init`(add`--drop-existing`to drop/recreate tables instead of truncate)
0 commit comments