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:
parent
e495ce496b
commit
ca6b3a632d
1 changed files with 5 additions and 0 deletions
5
resources/sql/autopatches/20140712.projcoluniq.sql
Normal file
5
resources/sql/autopatches/20140712.projcoluniq.sql
Normal 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);
|
Loading…
Reference in a new issue