[koha-commits] main Koha release repository branch master updated. v19.11.00-1813-g2b7ac72d70
Git repo owner
gitmaster at git.koha-community.org
Fri Apr 17 11:52:24 CEST 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 2b7ac72d7086c66d14b9d08337eecea94c4d8929 (commit)
via 0e9d45e7b4cb2e6a6d6b9559671b5d91c0e6fab4 (commit)
via 7d09c46cf7e049f1e32c6bb57f49c46288d486f5 (commit)
via cd5be730420ebed9d66a4feaae19df79a4c3559d (commit)
via 021598e8a4043433a8d435298dd584ac8127aacc (commit)
via 9287585f3823b9375d5bdbbc7128e0141dafb4f6 (commit)
from 2484fb6ac508e7709de9473694512ce09b12aff9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2b7ac72d7086c66d14b9d08337eecea94c4d8929
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Fri Apr 17 10:20:27 2020 +0100
Bug 22887: (RM follow-up) Restore warnings in updatedatabase
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 0e9d45e7b4cb2e6a6d6b9559671b5d91c0e6fab4
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Fri Apr 17 10:17:32 2020 +0100
Bug 21901: DBRev 19.12.00.076
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 7d09c46cf7e049f1e32c6bb57f49c46288d486f5
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date: Fri Apr 17 08:04:14 2020 +0000
Bug 21901: (QA follow-up) Add a few NOT NULL constraints in dbrev
We need to specify NOT NULL on subscription and -history as well.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit cd5be730420ebed9d66a4feaae19df79a4c3559d
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Mar 9 15:25:29 2020 +0100
Bug 21901: Add a warning if we removed entries
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 021598e8a4043433a8d435298dd584ac8127aacc
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Fri Jan 31 13:21:41 2020 +0000
Bug 21901: (QA follow-up) Ensure consistent data before adding keys
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 9287585f3823b9375d5bdbbc7128e0141dafb4f6
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Dec 11 08:29:27 2019 +0100
Bug 21901: Add FK on subscription and serial tables
In order to improve performance in the serial modules and add DB constraints,
this patch is going to add missing foreign key on the following columns:
* serial.biblionumber
* serial.subscription
* subscriptionhistory.biblionumber
* subscriptionhistory.subscriptionid
* subscription.biblionumber
Once done, some code can be removed from the Del* subroutines, as the ON
CASCASE clause will make the RDBMS handles the deletions.
Test plan:
0/ It would be useful to test the update DB entry on a big and old
production DB, to make sure the constraints will be added correctly.
We could remove the entries before creating the constraints, but it can
be unecessary
1/ Make sure you can recreate a fresh install with the kohastructure.sql
from this patch
2/ Make sure you can upgrade from a master install
3/ Create a subscription, serial, etc. and delete the biblio
=> The subscription/serials should have been deleted from the DB
4/ Create a subscription, serial, etc. and delete the subscription
=> The serials should have been deleted from the DB
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Biblio.pm | 7 --
C4/Serials.pm | 2 -
Koha.pm | 2 +-
Koha/Schema/Result/Biblio.pm | 49 ++++++++++-
Koha/Schema/Result/Serial.pm | 48 ++++++++---
Koha/Schema/Result/Subscription.pm | 53 +++++++++++-
Koha/Schema/Result/Subscriptionhistory.pm | 44 ++++++++--
installer/data/mysql/kohastructure.sql | 63 +++++++-------
installer/data/mysql/updatedatabase.pl | 132 ++++++++++++++++++++++++++++++
t/db_dependent/Biblio.t | 34 +++++++-
10 files changed, 371 insertions(+), 63 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list