Skip to content

Mark u64 as unsupported on SQLite in column-types table - #181

Merged
tyt2y3 merged 4 commits into
masterfrom
fix/sqlite-u64-unsupported-docs
Aug 5, 2026
Merged

Mark u64 as unsupported on SQLite in column-types table#181
tyt2y3 merged 4 commits into
masterfrom
fix/sqlite-u64-unsupported-docs

Conversation

@tyt2y3

@tyt2y3 tyt2y3 commented Aug 5, 2026

Copy link
Copy Markdown
Member

The column-types table listed u64 → SQLite integer, implying it works. It doesn't: SQLite stores only 64-bit signed integers, and the sqlx SQLite driver does not encode u64 (values above i64::MAX can't be represented). u8/u16/u32 are fine — they fit in signed 64-bit — so only the u64 row is wrong.

Changed the SQLite cell to unsupported¹ and added a footnote pointing at the workaround (i64, or String/Vec<u8>) and the long-standing tracking issue. Applied to both the English doc and the zh-CN mirror.

Context: SeaQL/sea-orm#3150 (rediscovered) → duplicate of SeaQL/sea-orm#1400 (2023). A docs fix for this was attempted back then (#88) but never made it in.

@tyt2y3
tyt2y3 merged commit bb4e8b1 into master Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://www.sea-ql.org/preview/pr-181/

Built to branch gh-pages at 2026-08-05 19:58 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant