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: 229c9942b5031c02d111381fcc1aebf6a53991a9 (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable all
class AddNullToNameForCiProjects < ActiveRecord::Migration
  def up
    change_column_null :ci_projects, :name, true
  end

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