From 9099201154e0d1429f8256bf540ab7702331355e Mon Sep 17 00:00:00 2001 From: Patrik Ragnarsson Date: Thu, 16 Nov 2023 19:48:28 +0100 Subject: [PATCH] Fix Ruby syntax in column encryption constraint example --- lib/sequel/plugins/column_encryption.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sequel/plugins/column_encryption.rb b/lib/sequel/plugins/column_encryption.rb index e462940c9..1004323d4 100644 --- a/lib/sequel/plugins/column_encryption.rb +++ b/lib/sequel/plugins/column_encryption.rb @@ -325,7 +325,7 @@ module Plugins # DB.alter_table(:ce_test) do # c = Sequel[:encrypted_column_name] # add_constraint(:enc_base64) do - # octet_length(decode(regexp_replace(regexp_replace(c, '_', '/', 'g'), '-', '+', 'g'), 'base64')) >= 65} + # octet_length(decode(regexp_replace(regexp_replace(c, '_', '/', 'g'), '-', '+', 'g'), 'base64')) >= 65 # end # end #