gitlab-org--gitlab-foss/db/migrate/20160314094147_add_priority_to_label.rb
Thijs Wouters d8263b2851 Sort by label priority
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-06 11:59:49 -05:00

6 lines
151 B
Ruby

class AddPriorityToLabel < ActiveRecord::Migration
def change
add_column :labels, :priority, :integer
add_index :labels, :priority
end
end