science-ation/db/db.update.225.sql

7 lines
237 B
MySQL
Raw Permalink Normal View History

ALTER TABLE `conferences`
ADD `copyoriginal` INT NOT NULL AFTER `status` ,
ADD `copyparent` INT NOT NULL AFTER `copyoriginal` ,
ADD `notes` TEXT NOT NULL AFTER `copyparent`;
UPDATE `conferences` SET copyoriginal=id, copyparent=id;