Remove ipx copy-db once Postgres is settled #85

Closed
opened 2026-09-29 06:06:58 -07:00 by rays · 1 comment
Owner

The copy-db command (src/main.rs:43, 838), Db::copy_from (src/db.rs:1087) and copy_table (src/db.rs:75), about 90 lines. It was the one-off copy from SQLite to Postgres. Rolling back needs only the old state.db, which is kept, not this. Remove it once going back to SQLite is off the table. Found in a repo-wide audit for code that can go.

The copy-db command (src/main.rs:43, 838), Db::copy_from (src/db.rs:1087) and copy_table (src/db.rs:75), about 90 lines. It was the one-off copy from SQLite to Postgres. Rolling back needs only the old state.db, which is kept, not this. Remove it once going back to SQLite is off the table. Found in a repo-wide audit for code that can go.
rays added the enhancement label 2026-09-29 06:06:58 -07:00
rays referenced this issue from a commit 2026-09-29 09:25:56 -07:00
Author
Owner

Fixed in 0945f3a: ipx copy-db, Db::copy_from and copy_table are gone. Rolling back to SQLite needs only /mnt/user/ipx/state.db, which is kept. Deployed.

Fixed in 0945f3a: ipx copy-db, Db::copy_from and copy_table are gone. Rolling back to SQLite needs only /mnt/user/ipx/state.db, which is kept. Deployed.
rays closed this issue 2026-09-29 09:28:08 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#85