We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ca509 commit 84b5f31Copy full SHA for 84b5f31
sql/021-config-functions.sql
@@ -226,6 +226,18 @@ AS $$
226
$$ LANGUAGE plpgsql;
227
228
229
+
230
+--
231
232
+-- Marks the currently `pending` configuration as `encrypting`.
233
234
+-- Validates the database schema and raises an exception if the configured columns are not of `jsonb` or `cs_encrypted_v1` type.
235
236
+-- Accepts an optional `force` parameter.
237
+-- If `force` is `true`, the schema validation is skipped.
238
239
+-- Raises an exception if the configuration is already `encrypting` or if there is no `pending` configuration to encrypt.
240
241
DROP FUNCTION IF EXISTS cs_encrypt_v1();
242
243
CREATE FUNCTION cs_encrypt_v1(force boolean DEFAULT false)
0 commit comments