gitlab-org--gitlab-foss/db/migrate/20160721081015_drop_and_rea...

15 lines
353 B
Ruby
Raw Normal View History

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