Releases: sakiladb/rqlite
Releases · sakiladb/rqlite
Release list
v10.0.6 — canonical Sakila schema
What's new
Regenerated sakila.db to align with the canonical SQLite Sakila DDL. Closes #2.
- Single-column integer primary keys are now declared inline as
INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL(was:numeric/int/SMALLINTwith a separatePRIMARY KEY (...)clause). last_updatecolumns gainNOT NULL DEFAULT CURRENT_TIMESTAMP.sqlite_sequenceis seeded so future AUTOINCREMENT inserts continue from the existing max id.- Composite-PK tables (
film_actor,film_category) andfilm_textare intentionally untouched.
The user-visible effect: actor.actor_id is now returned with wire type integer over rqlite's HTTP API. Previously it came back as numeric, which clients like gorqlite decode as float64 instead of int64 — that mismatch was the issue that surfaced the bug.
Try it
docker pull sakiladb/rqlite:10
docker run -p 4001:4001 -p 4002:4002 \
--add-host rqlite1:127.0.0.1 \
-d sakiladb/rqlite:10
curl -s -u sakila:p_ssW0rd \
'http://localhost:4001/db/query?level=strong&q=SELECT+actor_id+FROM+actor+LIMIT+1'
# {"results":[{"columns":["actor_id"],"types":["integer"], ...
# ^^^^^^^^^ was "numeric"Reproducibility
The schema transformation is committed as tools/regenerate-sakila.sh so the change can be reproduced from source rather than treated as an opaque blob swap.
Image tags
sakiladb/rqlite:latestsakiladb/rqlite:10
Both signed via cosign keyless OIDC.
Known follow-ups
- #5 —
customer.activedefault'Y'is inconsistent with thecustomer_listview's numeric comparison. Pre-existing schema drift inherited from the upstream jOOQ Sakila, not introduced by this release.