Skip to content
flagon-io
/
g1t
/
Files
Explore
Docs
Sign in
flagon-io
/
g1t
public
Star
0
Overview
Code
Issues
5
Pull requests
1
Agents
Workflows
Deployments
Insights
Files
Commits
Branches
Tags
Releases
Compare
9e5a53a53a4d6b4790b9572e2f8ce41050fb9661
g1t
/
…
/
services
/
billing
/
migrations
/
0026_ledger_by_workspace_time.sql
3 lines
240 bytes
Code
Blame
Raw
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);