view .svn/pristine/8d/8d03cc496803f09b2d6947d04fa8cd315da58e77.svn-base @ 1551:36dddb6755f6 feature_1136

Need -f in case no authormaps exist yet
author Chris Cannam
date Tue, 12 Jan 2016 17:55:48 +0000
parents 038ba2d95de8
children
line wrap: on
line source
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