Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20151106000015_add_is_award_to_notes.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 02b271637e960c9214481e0e4eed4287f49d81c0 (plain)
1
2
3
4
5
6
class AddIsAwardToNotes < ActiveRecord::Migration
  def change
    add_column :notes, :is_award, :boolean, default: false, null: false
    add_index :notes, :is_award
  end
end