debian-mirror-gitlab/db/migrate/20150930095736_add_null_to_name_for_ci_projects.rb

11 lines
217 B
Ruby
Raw Normal View History

# rubocop:disable all
2015-10-24 18:46:33 +05:30
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