summaryrefslogtreecommitdiff
path: root/db/migrate/20160721081015_drop_and_readd_has_external_wiki_in_projects.rb
blob: 459a120155d32efc5f5d83a4c11607648056dcd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class DropAndReaddHasExternalWikiInProjects < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  # Set this constant to true if this migration requires downtime.
  DOWNTIME = false

  def up
    remove_column :projects, :has_external_wiki, :boolean
    add_column :projects, :has_external_wiki, :boolean
  end

  def down
  end
end