DROP INDEX IF EXISTS idx_allowlists_event;
DROP TABLE IF EXISTS event_allowlists;
DROP TABLE IF EXISTS fraud_feedback;

ALTER TABLE access_logs
    DROP COLUMN IF EXISTS geo_lon,
    DROP COLUMN IF EXISTS geo_lat,
    DROP COLUMN IF EXISTS geo_city,
    DROP COLUMN IF EXISTS geo_country;

ALTER TABLE events
    DROP COLUMN IF EXISTS fraud_block_threshold,
    DROP COLUMN IF EXISTS fraud_high_threshold,
    DROP COLUMN IF EXISTS fraud_medium_threshold;
