Skip to content
This repository
tag: 6.2.6.3
Fetching contributors…

Cannot retrieve contributors at this time

file 6 lines (5 sloc) 0.315 kb
1 2 3 4 5 6
ALTER TABLE blogposts
    ADD COLUMN id INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY FIRST,
    ADD COLUMN `modified` datetime NOT NULL default '0000-00-00 00:00:00',
    ADD COLUMN `created` datetime NOT NULL default '0000-00-00 00:00:00';

UPDATE blogposts SET modified=date_posted, created=date_posted;
Something went wrong with that request. Please try again.