




ALTER TABLE videos ADD COLUMN recent_views DOUBLE NOT NULL DEFAULT 0 AFTER impressions;
ALTER TABLE videos ADD COLUMN recent_impressions DOUBLE NOT NULL DEFAULT 0 AFTER recent_views;


UPDATE videos SET recent_views = views, recent_impressions = impressions WHERE status = 'published';
