Skip to content

Commit

Permalink
Fix Ruby syntax in column encryption constraint example
Browse files Browse the repository at this point in the history
  • Loading branch information
dentarg committed Nov 16, 2023
1 parent 0239207 commit 9099201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sequel/plugins/column_encryption.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit 9099201

Please sign in to comment.