Skip to content
Discussion options

You must be logged in to vote

@segmentationfaulter that error is a known upstream Cloudflare limitation, not an emdash bug: cloudflare/workers-sdk#6305 and #9519 (both still open). wrangler d1 export --remote refuses to export the whole database if it contains any fts5 virtual table. Root cause: SQLite's native .dump of an fts5 table needs PRAGMA writable_schema=ON to write the shadow-table rows directly into sqlite_schema, and D1 doesn't support that pragma — so it bails on the entire export rather than skipping just the fts5 table. The --table filter doesn't help either; that check runs server-side against the whole DB before any table filtering is applied.

Good news: emdash's fts5 tables are fully derived and safe …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@segmentationfaulter
Comment options

@marcusbellamyshaw-cell
Comment options

Answer selected by segmentationfaulter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants