3bb0b2aa29
I've also included a migration file in the tools directory
6 lines
236 B
SQL
6 lines
236 B
SQL
use news;
|
|
ALTER TABLE revisions CHANGE COLUMN id `index` INTEGER(11) UNIQUE NOT NULL AUTO_INCREMENT;
|
|
|
|
ALTER TABLE revisions DROP FOREIGN KEY revisions_ibfk_1;
|
|
|
|
ALTER TABLE revisions CHANGE COLUMN originalIndex originalIndex INTEGER(11); |