DROP TABLE IF EXISTS api_key_usage_logs;
DROP TABLE IF EXISTS user_product_subscriptions;
DROP TABLE IF EXISTS rpc_products;

ALTER TABLE api_keys
    DROP COLUMN IF EXISTS product_slug,
    DROP COLUMN IF EXISTS scopes,
    DROP COLUMN IF EXISTS monthly_quota,
    DROP COLUMN IF EXISTS requests_used,
    DROP COLUMN IF EXISTS approved,
    DROP COLUMN IF EXISTS approved_at,
    DROP COLUMN IF EXISTS approved_by,
    DROP COLUMN IF EXISTS last_ip_address;
