summaryrefslogtreecommitdiffstats
path: root/db/migrate/20120115143100_add_repositories_is_default.rb
blob: 7aad9b91d23795b0436527ec412ea6b4be67b7e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: false

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