debian-mirror-gitlab/db/migrate/20150930095736_add_null_to_name_for_ci_projects.rb
2019-02-15 15:39:39 +05:30

10 lines
200 B
Ruby

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