pr_01m47d24b0e6n91zwymwxg0vpx/services/billing/migrations/0011_limit_warnings.sql

6 lines370 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Billing on Stripe's pages, month-end charges, warnings; sudo by workspace1-- Telling owners before work stops: the highest warning sent this month
2-- (50, 80 or 100 percent of the limit), and when a declined card was last
3-- reported. See `warn_limits` in src/limits.rs.
4ALTER TABLE limits ADD COLUMN warned_month TEXT;
5ALTER TABLE limits ADD COLUMN warned_level INTEGER NOT NULL DEFAULT 0;
6ALTER TABLE limits ADD COLUMN declined_told_at TEXT;