From dde312d066924fec951660f87a246bca4985f468 Mon Sep 17 00:00:00 2001 From: Kat Date: Tue, 26 Sep 2023 11:51:51 +0100 Subject: [PATCH] Add signed at and dpo details to DPC seed --- db/seeds.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/db/seeds.rb b/db/seeds.rb index 94d36a7fb..3631e2c07 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -12,6 +12,9 @@ def create_data_protection_confirmation(user) organisation: user.organisation, confirmed: true, data_protection_officer: user, + signed_at: Time.zone.local(2019, 1, 1), + data_protection_officer_email: user.email, + data_protection_officer_name: user.name, ) end