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: 8d47dac6441e87339cbe3a0a710d1f9e9a3391b2 (plain)
1
2
3
4
5
6
7
8
9
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