debian-mirror-gitlab/db/migrate/20210708134446_remove_not_null_constraint_from_terms.rb
2021-09-30 23:02:18 +05:30

11 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