Koha-clms/installer/data/mysql
Julian Maurice daf9d619e5 Bug 19724: Add timestamp to biblio_metadata and deletedbiblio_metadata
Since bug 17196, biblioitems.timestamp is not always updated after a
change in the MARC record.
We need to know the last modification time of the MARC record for some
features (like OAI-PMH parameters 'from' and 'until' for instance)

This patch only adds the missing column in biblio_metadata and
deletedbiblio_metadata

Test plan:
1. Run updatedatabase.pl
2. Verify that both tables have the new column, its value should be the
   greatest timestamp value from the corresponding biblio and
   biblioitems table entries
   You can verify with the following SQL query:
     SELECT b.biblionumber, b.timestamp as biblio_ts,
     bi.timestamp as biblioitems_ts, m.timestamp as biblio_metadata_ts
     FROM biblio_metadata m
     LEFT JOIN biblioitems bi ON (bi.biblionumber = m.biblionumber)
     LEFT JOIN biblio b ON (b.biblionumber = m.biblionumber);

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-12-07 10:09:50 -03:00
..
atomicupdate Bug 19724: Add timestamp to biblio_metadata and deletedbiblio_metadata 2017-12-07 10:09:50 -03:00
de-DE Bug 10222: Correct and expand to other languages 2017-12-07 09:37:11 -03:00
en Bug 10222: Correct and expand to other languages 2017-12-07 09:37:11 -03:00
es-ES Bug 10222: Correct and expand to other languages 2017-12-07 09:37:11 -03:00
fr-CA Bug 10222: Correct and expand to other languages 2017-12-07 09:37:11 -03:00
fr-FR Bug 17960: Update installed files 2017-02-06 17:42:13 +00:00
it-IT Bug 8612: Update installer files for late_issues 2017-06-05 12:56:20 -03:00
mandatory Bug 17518: Displayed language name for Czech is wrong 2016-11-02 11:00:35 +00:00
nb-NO Bug 10222: Correct and expand to other languages 2017-12-07 09:37:11 -03:00
pl-PL Bug 19377: (follow-up) Remove charge for 'books' in all sample data 2017-10-27 16:05:59 -03:00
ru-RU Bug 19377: (follow-up) Remove charge for 'books' in ru-RU sample data 2017-10-27 16:06:06 -03:00
uk-UA Bug 18537 - Update Ukrainian installer sample files for 17.05 2017-08-30 14:59:02 -03:00
account_offset_types.sql Bug 12768: (QA follow-up) Use specific account offset types for Processing Fee and Lost Item 2017-10-23 12:36:12 -03:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 16011: $VERSION - Remove comments 2016-03-24 17:20:29 +00:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17135: [QA Follow-up] Changes as to reporting 2016-09-16 10:47:03 +00:00
kohastructure.sql Bug 19724: Add timestamp to biblio_metadata and deletedbiblio_metadata 2017-12-07 10:09:50 -03:00
labels_upgrade.pl
…
patroncards_upgrade.pl
…
sysprefs.sql Bug 7317: Add SQL templates & sysprefs. 2017-11-09 11:26:56 -03:00
update22to30.pl
…
updatedatabase.pl Koha 17.12 - Panuku (start of a new dev cycle) 2017-12-04 11:47:14 -03:00
userflags.sql Bug 7317: Add SQL templates & sysprefs. 2017-11-09 11:26:56 -03:00
userpermissions.sql Bug 12461 - Add patron clubs feature 2017-04-28 08:37:44 -04:00