Commits
2026-11-26
2026-11-25
✨ feat: call grid view, poll show-voters option with anonymous counts, poll card refreshAhmet Kaan Gümüş · c3c7ee2Browse files
♻️ refactor: one clean schema, integer ids and one transaction per callAhmet Kaan Gümüş · 22b1bb7
♻️ refactor: one clean schema, integer ids and one transaction per call The database layer is rebuilt on turso with one STRICT schema file in place of the migration list, integer ids, explicit created_at columns and settings, log actions and snippet polls stored as bitcode. A single connection runs every call inside one BEGIN IMMEDIATE transaction and events are published only on success. SQL lives only in db/, one file per table, through four helpers and one row reader; disk work for attachments moves to files.rs. Session tokens are stored hashed. Fixes case sensitive login against case insensitive uniqueness, logout leaving the connection signed in, user deletion failing inside a lone DM call, deleted DMs keeping their voice room, kicking non members, builders leaving owned groups ownerless, half applied multi step writes and events sent for failed calls. A stale database file now refuses to start instead of failing later.