about summary refs log tree commit diff
path: root/db/migrate/20200717014609_add_nest_level_to_statuses.rb
blob: 0b2196ad6fd9b9b0b2b8e8ec802289600535776e (plain) (blame)
1
2
3
4
5
6
7
class AddNestLevelToStatuses < ActiveRecord::Migration[5.2]
  def change
    safety_assured do
      add_column :statuses, :nest_level, :integer, limit: 1, null: false, default: 0
    end
  end
end