Skip to content

Commit

Permalink
Reflect reality - communications are per person/date
Browse files Browse the repository at this point in the history
(Not sure where this went - the db update 13-4 changed the PK to
person_id/created_on, but we lost the Result change somehow!?)
  • Loading branch information
castaway committed Feb 16, 2025
1 parent 911de70 commit 996f25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AccessSystem/Schema/Result/Communication.pm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ __PACKAGE__->add_columns(
is_nullable => 1,
},
);
__PACKAGE__->set_primary_key('person_id', 'type');
__PACKAGE__->set_primary_key('person_id', 'created_on');

__PACKAGE__->belongs_to('person', 'AccessSystem::Schema::Result::Person', 'person_id' );

Expand Down

0 comments on commit 996f25f

Please sign in to comment.