debian-mirror-gitlab/db/migrate/20160314094147_add_priority_to_label.rb

8 lines
178 B
Ruby
Raw Normal View History

# rubocop:disable all
2019-02-15 15:39:39 +05:30
class AddPriorityToLabel < ActiveRecord::Migration[4.2]
def change
add_column :labels, :priority, :integer
add_index :labels, :priority
end
end