From c4cbd24876dda69b770cf261c4e88d796734a419 Mon Sep 17 00:00:00 2001 From: mistahj67 <26472282+mistahj67@users.noreply.github.com> Date: Fri, 9 Feb 2024 12:35:39 -0700 Subject: [PATCH] chore: add feature-flag migration to v5.6.0 migration (#407) --- cmd/api/src/database/migration/migrations/v5.6.0.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/api/src/database/migration/migrations/v5.6.0.sql b/cmd/api/src/database/migration/migrations/v5.6.0.sql index cad1cf7dec..ea0c5e9b7a 100644 --- a/cmd/api/src/database/migration/migrations/v5.6.0.sql +++ b/cmd/api/src/database/migration/migrations/v5.6.0.sql @@ -29,3 +29,4 @@ ALTER TABLE IF EXISTS audit_logs CREATE INDEX IF NOT EXISTS idx_audit_logs_actor_email ON audit_logs USING btree (actor_email); CREATE INDEX IF NOT EXISTS idx_audit_logs_source_ip_address ON audit_logs USING btree (source_ip_address); CREATE INDEX IF NOT EXISTS idx_audit_logs_status ON audit_logs USING btree (status); +UPDATE feature_flags SET enabled = true, user_updatable = false WHERE key = 'adcs';