g1t/services/billing/migrations/0035_cf_subscriptions.sql

9 lines362 bytesCodeBlame
1-- Cloudflare's subscriptions (Workers Paid, add-ons), as last read from
2-- Cloudflare: what g1t pays each month whatever it uses. One row; detail
3-- is each subscription's name and monthly micros, as JSON.
4CREATE TABLE IF NOT EXISTS cf_subscriptions (
5 id TEXT PRIMARY KEY,
6 monthly_micros INTEGER NOT NULL,
7 detail TEXT NOT NULL,
8 read_at TEXT NOT NULL
9);