Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (6 sloc) 0.27 kb
ALTER TABLE reviews
ADD COLUMN addon_id int(11) unsigned NULL,
ADD FOREIGN KEY (addon_id) REFERENCES addons (id),
CHANGE COLUMN version_id version_id int(11) unsigned NULL;
UPDATE reviews SET addon_id=
(SELECT addon_id FROM versions WHERE id=version_id);
Jump to Line
Something went wrong with that request. Please try again.