Files
gitlab-foss/db/migrate/20210708134446_remove_not_null_constraint_from_terms.rb
2021-07-12 03:09:27 +00:00

12 lines
267 B
Ruby

# frozen_string_literal: true
class RemoveNotNullConstraintFromTerms < ActiveRecord::Migration[6.1]
def up
change_column_null :application_setting_terms, :terms, true
end
def down
change_column_null :application_setting_terms, :terms, false
end
end