Skip to content

Commit 8068be8

Browse files
authored
fix: remove incorrect logic to check for pending encrypt columns
1 parent a2b70a0 commit 8068be8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/021-config-functions.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@ CREATE FUNCTION cs_encrypt_v1()
232232
RETURNS boolean
233233
AS $$
234234
BEGIN
235-
IF NOT cs_ready_for_encryption_v1() THEN
236-
RAISE EXCEPTION 'Some pending columns do not have an encrypted target';
237-
END IF;
235+
-- IF NOT cs_ready_for_encryption_v1() THEN
236+
-- RAISE EXCEPTION 'Some pending columns do not have an encrypted target';
237+
-- END IF;
238238

239239
IF NOT EXISTS (SELECT FROM cs_configuration_v1 c WHERE c.state = 'pending') THEN
240240
RAISE EXCEPTION 'No pending configuration exists to encrypt';

0 commit comments

Comments
 (0)