| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Rename "channel" to "conversation" in the database. | Owen Jacobson | 2025-07-03 |
| | | | | | | | I've - somewhat arbitrarily - started renaming column aliases, as well, though the corresponding Rust data model, API fields and nouns, and client code still references them as "channel" (or as derived terms). As with so many schema changes, this entails a complete rebuild of a substantial portion of the schema. sqlite3 still doesn't have very many `alter table` primitives, for renaming columns in particular. | ||
| * | Update stored sqlx queries | Owen Jacobson | 2024-10-29 |
| | | |||
| * | Update saved SQL | Owen Jacobson | 2024-10-26 |
| | | |||
| * | Make sure (most) queries avoid table scans. | Owen Jacobson | 2024-10-23 |
| I've exempted inserts (they never scan in the first place), queries on `event_sequence` (at most one row), and the coalesce()s used for event replay (for now; these are obviously a performance risk area and need addressing). Method: ``` find .sqlx -name 'query-*.json' -exec jq -r '"explain query plan " + .query + ";"' {} + > explain.sql ``` Then go query by query through the resulting file. | |||
