mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-02 23:19:33 +00:00
4fe4ac5d19
The original table used stack_name as the sole PRIMARY KEY. A later migration added node_id and a composite unique index, but the old single-column PK was never removed (SQLite doesn't support DROP CONSTRAINT). This caused UNIQUE constraint failures when two nodes shared the same stack name. Recreate the table with PRIMARY KEY (node_id, stack_name) for existing databases, and fix the CREATE TABLE for new databases.