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

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