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

20150930095736_add_null_to_name_for_ci_projects.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 181f9f059ac3e10554f67a0e6db1cc1e7fb4ab82 (plain)
1
2
3
4
5
6
7
8
9
class AddNullToNameForCiProjects < ActiveRecord::Migration[4.2]
  def up
    change_column_null :ci_projects, :name, true
  end

  def down
    change_column_null :ci_projects, :name, false
  end
end