Commit 10c72422 authored by charlie ablett's avatar charlie ablett Committed by Alex Kalderimis

Change setting type to text

parent 0957161c
......@@ -4,6 +4,6 @@ class AddNotesCreateLimitAllowlistToApplicationSettings < ActiveRecord::Migratio
DOWNTIME = false
def change
add_column :application_settings, :notes_create_limit_allowlist, :string, array: true, limit: 255, default: []
add_column :application_settings, :notes_create_limit_allowlist, :text, array: true, default: [], null: false
end
end
......@@ -9414,7 +9414,7 @@ CREATE TABLE application_settings (
asset_proxy_allowlist text,
keep_latest_artifact boolean DEFAULT true NOT NULL,
notes_create_limit integer DEFAULT 300 NOT NULL,
notes_create_limit_allowlist character varying(255)[] DEFAULT '{}'::character varying[],
notes_create_limit_allowlist text[] DEFAULT '{}'::text[] NOT NULL,
CONSTRAINT app_settings_container_reg_cleanup_tags_max_list_size_positive CHECK ((container_registry_cleanup_tags_service_max_list_size >= 0)),
CONSTRAINT app_settings_registry_exp_policies_worker_capacity_positive CHECK ((container_registry_expiration_policies_worker_capacity >= 0)),
CONSTRAINT check_17d9558205 CHECK ((char_length((kroki_url)::text) <= 1024)),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment