classChangeDefaultValueForDsaKeyRestriction<ActiveRecord::Migration# Set this constant to true if this migration requires downtime.DOWNTIME=falsedefupchange_column:application_settings,:dsa_key_restriction,:integer,null: false,default: -1execute("UPDATE application_settings SET dsa_key_restriction = -1")enddefdownchange_column:application_settings,:dsa_key_restriction,:integer,null: false,default: 0endend