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

10 lines
200 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
class AddNullToNameForCiProjects < ActiveRecord::Migration[4.2]
2015-10-24 18:46:33 +05:30
def up
change_column_null :ci_projects, :name, true
end
def down
change_column_null :ci_projects, :name, false
end
end