about summary refs log tree commit diff
path: root/db/migrate/20190505072439_add_private_to_tags.rb
blob: b9a29fe9eab350373d416b11fcd928b071356106 (plain) (blame)
1
2
3
4
5
6
7
8
class AddPrivateToTags < ActiveRecord::Migration[5.2]
  def change
    safety_assured {
      add_column :tags, :local, :boolean, default: false, null: false
      add_column :tags, :private, :boolean, default: false, null: false
    }
  end
end