-- 套餐定价(price_cents/currency/period);价格此前不入表,现补齐供客户端展示。
ALTER TABLE plans ADD COLUMN price_cents INTEGER NOT NULL DEFAULT 0;
ALTER TABLE plans ADD COLUMN currency TEXT NOT NULL DEFAULT 'CNY';
ALTER TABLE plans ADD COLUMN period TEXT NOT NULL DEFAULT 'month';
UPDATE plans SET price_cents = 2500 WHERE code = 'pro';
UPDATE plans SET price_cents = 9900 WHERE code = 'team';
