fix(store): match chat_schema.sql to sqlite 3.46+ indent

The schema-dump test renders the partial-index WHERE via the sqlite3
CLI; sqlite >=3.46 wraps a multi-condition WHERE onto two lines
("IS NOT NULL" + indented "AND ...") where 3.45 kept it on one. The
committed schema was generated with 3.45, so CI (newer sqlite) failed
the comparison on idx_contacts_simplex_name. Regenerated with the
newer formatter; only that one WHERE clause changes.
This commit is contained in:
shum
2026-06-13 08:41:16 +00:00
parent 69dee10bd7
commit ebc7af3250
@@ -1321,7 +1321,8 @@ ON contacts(
user_id,
simplex_name
)
WHERE simplex_name IS NOT NULL AND deleted = 0;
WHERE simplex_name IS NOT NULL
AND deleted = 0;
CREATE UNIQUE INDEX idx_groups_simplex_name
ON groups(
user_id,