Public: anyone can read this; the crew can change it.
The usage_count table exists: one stamped migration and nothing else #2120
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/2077-the-usage-count-table-exists-one-stamped → main 1 commit fork
1 file
changed +9
−0
src/core/migrations/20261016130000-usage-count.ts added +9
| @@ -0,0 +1,9 @@ | ||
| 1 | // Requests counted by the hour (#2077): one row per hour, route pattern, | |
| 2 | // method, status class (`2xx`…`5xx`), role and surface. Nothing writes it yet. | |
| 3 | export default ` | |
| 4 | CREATE TABLE usage_count ( | |
| 5 | hour TEXT, pattern TEXT, method TEXT, status TEXT, role TEXT, surface TEXT, | |
| 6 | n INTEGER NOT NULL DEFAULT 0, | |
| 7 | PRIMARY KEY (hour, pattern, method, status, role, surface) | |
| 8 | ) WITHOUT ROWID; | |
| 9 | `; |
new above
offline