about summary refs log tree commit diff
path: root/db/migrate/20200904201028_add_default_false_to_local_only.rb
blob: 7f9bb99d4b9db215da8a52e40811d6d32c3eec62 (plain) (blame)
1
2
3
4
5
6
7
class AddDefaultFalseToLocalOnly < ActiveRecord::Migration[5.2]
  def change
    safety_assured do
      change_column :statuses, :local_only, :boolean, default: false, null: false
    end
  end
end