Repository navigation
claw2 v0.2.4 — database upgrade fix: title_manual migration with a schema convergence guard
What's changed in 0.2.4
Fixed
- Upgrading from 0.2.2 no longer breaks the chat list: 0.2.3 shipped the
title_manualcolumn in schema.sql but forgot the ALTER migration, so an
existing database made the gateway fail with
SqliteError: no such column: title_manualon the first chat-list query.
initDbnow adds the column on upgrade.
Added
- Schema-upgrade guard: a convergence test upgrades a database built from
schema.baseline.sql(the oldest supported schema, currently 0.2.2) through
initDband compares every table's shape with a fresh install. Adding a
column to schema.sql without the matching ALTER ininit.tsnow fails the
test with the exact table.column — the 0.2.3 class of bug can no longer
ship silently.
Full Changelog: v0.2.3...v0.2.4