g1t/services/repos/migrations/0006_stored_bytes.sql
| 1 | -- What a repository holds, as far as g1t can measure it: the bytes of every |
| 2 | -- pack pushed through g1t's git endpoints to it or to its pull requests' |
| 3 | -- working copies. The git store does not report sizes, and pushes from |
| 4 | -- agents' sandboxes go to it directly, so this is a lower bound. Billing |
| 5 | -- reads it daily (`storage`) for its private storage meter. |
| 6 | ALTER TABLE repos ADD COLUMN stored_bytes INTEGER NOT NULL DEFAULT 0; |