blob: f502ef9825b2c833682e94a4367fe3155d9e7e8b (
plain)
1
2
3
4
5
6
7
8
9
10
|
# frozen_string_literal: true
class AddYamlLimitsApplicationSetting < ActiveRecord::Migration[6.1]
DOWNTIME = false
def change
add_column :application_settings, :max_yaml_size_bytes, :bigint, default: 1.megabyte, null: false
add_column :application_settings, :max_yaml_depth, :integer, default: 100, null: false
end
end
|