-- 回滚：恢复旧字段，移除新字段
ALTER TABLE tb_package DROP COLUMN IF EXISTS expiry_base;

ALTER TABLE tb_package
    ADD COLUMN IF NOT EXISTS enable_realname_activation BOOLEAN NOT NULL DEFAULT TRUE;

COMMENT ON COLUMN tb_package.enable_realname_activation IS '是否启用实名激活 true-需实名后激活 false-立即激活';
