-- Align tenant plan tiers with current pricing names.
-- Safe to run on existing databases.

UPDATE tenants
SET plan = 'growth'
WHERE plan = 'professional';

ALTER TABLE tenants
  MODIFY COLUMN plan ENUM('starter','growth','business','enterprise') NOT NULL DEFAULT 'starter';