1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Remove uniqueness constraint from "sequence" key in project column table

Summary: Fixes T5611. We don't need sequences to be unique, and it makes it a pain to update them.

Test Plan: Dragged some columns around.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5611

Differential Revision: https://secure.phabricator.com/D9914
This commit is contained in:
epriestley 2014-07-12 11:24:35 -07:00
parent e495ce496b
commit ca6b3a632d

View file

@ -0,0 +1,5 @@
ALTER TABLE {$NAMESPACE}_project.project_column
DROP KEY key_sequence;
ALTER TABLE {$NAMESPACE}_project.project_column
ADD KEY key_sequence (projectPHID, sequence);