Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (5 sloc) 0.315 kB
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;
Jump to Line
Something went wrong with that request. Please try again.