Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20150417122318_remove_import_data_from_project.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c9a225a9d17b8c196ad845e4072e9c00270caa73 (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable all
class RemoveImportDataFromProject < ActiveRecord::Migration[4.2]
  def up
    remove_column :projects, :import_data
  end

  def down
    add_column :projects, :import_data, :text
  end
end