about summary refs log tree commit diff
path: root/db/migrate/20200719181947_add_published_to_statuses.rb
blob: 129840a0cb1c33cb7babfed414c4dce02319b630 (plain) (blame)
1
2
3
4
5
6
7
class AddPublishedToStatuses < ActiveRecord::Migration[5.2]
  def change
    safety_assured do
      add_column :statuses, :published, :boolean, default: true, null: false
    end
  end
end