mirror of
https://github.com/warmbly/warmbly.git
synced 2026-11-29 16:06:31 +00:00
Add an organization credit ledger with idempotent consumption, plan credit grants, Anthropic/OpenAI writing providers, and a gated generation endpoint for campaign writing assistance.
7 lines
234 B
SQL
7 lines
234 B
SQL
ALTER TABLE plans DROP COLUMN IF EXISTS monthly_credits;
|
|
|
|
DROP INDEX IF EXISTS uq_credit_txns_idempotency;
|
|
DROP INDEX IF EXISTS idx_credit_txns_org;
|
|
DROP TABLE IF EXISTS credit_ledger_transactions;
|
|
DROP TABLE IF EXISTS credit_ledger;
|