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

6 lines370 bytesCodeBlame
1-- 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;