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