https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32154

--- Comment #4 from Jonathan Druart <jonathan.druart+k...@gmail.com> ---
(In reply to Martin Renvoize from comment #3)
> Just thinking about this one, it feels to me like it should be a multi-field
> primary key rather than a new field entirely.
> 
> Having said that, it looks like we allow a user + licence + agreement
> combination to have multiple roles?  That would mean having all four fields
> in the primary key... food for thought.

It's actually not possible, license_id and agreement_id are nullable and thus
cannot be part of the primary key
https://mariadb.com/kb/en/primary-keys-with-nullable-columns/

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to