-- Migration 060: Rename first_input_delay_ms to interaction_to_next_paint_ms
-- Google replaced FID with INP (Interaction to Next Paint) as a Core Web Vital in March 2024
-- The PageSpeed API now returns INP data, so the column name should reflect the actual metric

ALTER TABLE company_website_analysis RENAME COLUMN first_input_delay_ms TO interaction_to_next_paint_ms;

-- Grant permissions
GRANT ALL ON TABLE company_website_analysis TO nordabiz_app;
