pr_01m47d24b0e6n91zwymwxg0vpx/services/repos/migrations/0007_git_operations.sql
| 1 | -- Git operations through g1t's git endpoints (clones, fetches, pushes), |
| 2 | -- counted per workspace by the hour. Cloudflare Artifacts charges g1t per |
| 3 | -- operation from 2026-10-14; billing reads the month's count each day |
| 4 | -- (`git_operations`). See src/git_ops.rs. |
| 5 | CREATE TABLE git_operations ( |
| 6 | namespace TEXT NOT NULL, |
| 7 | -- YYYY-MM-DDTHH, UTC. |
| 8 | hour TEXT NOT NULL, |
| 9 | operations INTEGER NOT NULL DEFAULT 0, |
| 10 | PRIMARY KEY (namespace, hour) |
| 11 | ); |