ALTER TABLE article ADD COLUMN year INTEGER;
ALTER TABLE article ADD COLUMN month INTEGER;
UPDATE article SET year = strftime('%Y', published_date), month = strftime('%m', published_date);
CREATE INDEX article__year_month ON article (year, month);
