summaryrefslogtreecommitdiffstats
path: root/db/migrate/20120115143100_add_repositories_is_default.rb
blob: 81c242b5e9a58e68071208c39ef7aa97789c28f5 (plain)
1
2
3
4
5
6
7
8
9
class AddRepositoriesIsDefault < ActiveRecord::Migration[4.2]
  def self.up
    add_column :repositories, :is_default, :boolean, :default => false
  end

  def self.down
    remove_column :repositories, :is_default
  end
end