Documentation
¶
Overview ¶
db-migrate copies all tables and data from a local SQLite database to a remote libsql database (e.g. Bunny Database, Turso). It reads the schema from sqlite_master, creates tables on the remote, and inserts all rows in batches. Generic — works with any SQLite DB (appview, hold, etc.).
Usage:
go run ./cmd/db-migrate --local /path/to/local.db --remote "libsql://..." --token "..." go run ./cmd/db-migrate --local /path/to/local.db --remote "libsql://..." --token "..." --skip-existing
Click to show internal directories.
Click to hide internal directories.