Bug 35919: DB changes
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 24 Jan 2024 19:12:52 +0000 (16:12 -0300)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 26 Apr 2024 15:06:02 +0000 (17:06 +0200)
commit5609cbdd9a6ae7d226e40fc4e032a8994fd9bdc7
tree1b3785576a32739dba75fb7a8304611e1b4970d6
parent764675e06c3c249bf75584dc06d26ae67c1054ee
Bug 35919: DB changes

This patch adds:

* A new table: `record_sources`.
* A new user permission: `manage_record_sources`.
* A FK on record_sources.recour_source_id on the biblio_metadata tables

Record sources will contain a name and (for now) a flag telling if
records from the specific source can be manually edited.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Schema/Result/RecordSource.pm [new file with mode: 0644]
installer/data/mysql/atomicupdate/bug_35919.pl [new file with mode: 0755]
installer/data/mysql/kohastructure.sql
installer/data/mysql/mandatory/userpermissions.sql