summaryrefslogtreecommitdiff
path: root/db/migrate/20210708134446_remove_not_null_constraint_from_terms.rb
blob: 82abfeb57f963b9a9418af220eef09e9cd96de73 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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