Skip to content

Commit

Permalink
update notificaiton model for encrypted field
Browse files Browse the repository at this point in the history
  • Loading branch information
ianperera committed Dec 16, 2024
1 parent 8a87d36 commit 625850a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/va_notify/app/models/va_notify/notification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
module VANotify
class Notification < ApplicationRecord
self.table_name = 'va_notify_notifications'

has_kms_key
has_encrypted :to, migrating: true, type: :text, key: :kms_key, **lockbox_options
end
end

0 comments on commit 625850a

Please sign in to comment.