mirror of
https://github.com/Such-Software/grin-lws.git
synced 2026-10-19 08:38:33 +02:00
The review's premise (sqlx::Any breaks on SQLite $N placeholders) is wrong for sqlx 0.7: SQLite accepts $N numbered params and binds them positionally, including reused placeholders. A probe test applies the real migration + exercises set_cursor's reused-$N upsert, insert_output (quoted "commit", bool), coinbase-maturity reads, and mark_spent against SQLite — all pass. The only true incompatibility was DEFAULT now(), changed to the portable DEFAULT CURRENT_TIMESTAMP. Schema + queries now run unchanged on both backends. Updated the stale dialect notes.