3 lines240 bytesCodeBlame | 1 | -- The month's usage, the limit and the open-source pool read a workspace's |
| 2 | -- ledger from a date on; by workspace and time those are ranges, not scans. |
| 3 | CREATE INDEX IF NOT EXISTS ledger_by_workspace_time ON ledger (workspace, created_at); |