diff --git a/db/migrate/20231114173829_remove_default_from_configuration_scripts_payload_valid.rb b/db/migrate/20231114173829_remove_default_from_configuration_scripts_payload_valid.rb new file mode 100644 index 00000000..a8484597 --- /dev/null +++ b/db/migrate/20231114173829_remove_default_from_configuration_scripts_payload_valid.rb @@ -0,0 +1,9 @@ +class RemoveDefaultFromConfigurationScriptsPayloadValid < ActiveRecord::Migration[6.1] + def up + change_column_default :configuration_scripts, :payload_valid, nil + end + + def down + change_column_default :configuration_scripts, :payload_valid, true + end +end