mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 17:30:59 +01:00
14 lines
364 B
MySQL
14 lines
364 B
MySQL
|
ALTER TABLE phabricator_timeline.timeline_event
|
||
|
ADD dataID int unsigned;
|
||
|
|
||
|
ALTER TABLE phabricator_timeline.timeline_event
|
||
|
ADD UNIQUE KEY (dataID);
|
||
|
|
||
|
UPDATE phabricator_timeline.timeline_event e,
|
||
|
phabricator_timeline.timeline_eventdata d
|
||
|
SET e.dataID = d.id
|
||
|
WHERE d.eventID = e.id;
|
||
|
|
||
|
ALTER TABLE phabricator_timeline.timeline_eventdata
|
||
|
DROP eventID;
|