]> git.koha-community.org Git - koha.git/commit
Bug 17813: Add a primary key to borrower_attributes
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Dec 2016 18:54:02 +0000 (15:54 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 20 Jan 2017 13:59:41 +0000 (13:59 +0000)
commitcb17720f47b34d5677b1e4c3245c084359358df0
treeca3093a509d5642304977d59564dbc8a8f4afa14
parent07626b3b6e12c62496e8b8e82c7077949c37a1b0
Bug 17813: Add a primary key to borrower_attributes

This patch adds 'borrower_attributes' a field (if) which
will act as a primary key.

This is needed for DBIC to be used to handle rows, and also will help
when faced with the implementation of the REST api for this resource.

To test:
- Run all patron modification / attributes and verify nothing breaks
- Sign off :-D

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_17813_borrower_attributes_pk.sql [new file with mode: 0644]
installer/data/mysql/kohastructure.sql