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 11, 2024
1 parent f01b6fc commit c78de12
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 c78de12

Please sign in to comment.