Koha/installer/data/mysql/db_revs
Martin Renvoize 8cedcfd5c8
Bug 37000: (Bug 36120 follow-up) Improve reliability of database update
This patch adds a series of fallthroughs to ensure pickup_library_id is
always set prior to adding the NOT NULL constraint.

We initially only looked at items.homebranch but as that's a nullable
field itself, we now look at items.holdingbranch before finally
defaulting to the first available branch in the branches table in the
worst case.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2024-06-10 16:35:43 +01:00
..
210600000.pl
210600001.pl
210600002.pl
210600003.pl
210600004.pl
210600005.pl
210600006.pl
210600007.pl
210600008.pl
210600009.pl
210600010.pl
210600011.pl
210600012.pl
210600013.pl
210600014.pl
210600015.pl
210600016.pl
210600017.pl
210600018.pl
210600019.pl
210600020.pl
210600021.pl
210600022.pl
210600023.pl
210600024.pl
210600025.pl
210600026.pl
210600027.pl
210600028.pl
210600029.pl
210600030.pl
210600031.pl
210600032.pl
210600033.pl
210600034.pl
210600035.pl
210600036.pl
210600037.pl
210600038.pl
210600039.pl
210600040.pl
210600041.pl
210600042.pl
210600043.pl
210600044.pl
210600045.pl
210600046.pl
210600047.pl
210600048.pl
210600049.pl
211100000.pl
211200000.pl
211200001.pl
211200002.pl
211200003.pl
211200004.pl
211200005.pl
211200006.pl
211200007.pl
211200008.pl
211200009.pl
211200010.pl
211200011.pl
211200012.pl
211200013.pl
211200014.pl
211200015.pl
211200016.pl
211200017.pl
211200018.pl
211200019.pl
211200020.pl
211200021.pl
211200022.pl
211200023.pl
211200024.pl
211200025.pl
211200026.pl
211200027.pl
211200028.pl
211200029.pl
211200030.pl
211200031.pl
211200032.pl
211200033.pl
211200034.pl
211200035.pl
211200036.pl
211200037.pl
211200038.pl
211200039.pl
211200040.pl
211200041.pl
211200042.pl
211200043.pl
211200044.pl
211200045.pl
211200046.pl
211200047.pl
211200048.pl
211200049.pl
211200050.pl
211200051.pl
211200052.pl
211200053.pl
211200054.pl
211200055.pl
211200056.pl
211200057.pl
220500000.pl
220600000.pl
220600001.pl
220600002.pl
220600003.pl
220600004.pl
220600005.pl
220600006.pl
220600007.pl
220600008.pl
220600009.pl
220600010.pl
220600011.pl
220600012.pl
220600013.pl
220600014.pl
220600015.pl
220600016.pl
220600017.pl
220600018.pl
220600019.pl
220600020.pl
220600021.pl
220600022.pl
220600023.pl
220600024.pl
220600025.pl
220600026.pl
220600027.pl
220600028.pl
220600029.pl
220600030.pl
220600031.pl
220600032.pl
220600033.pl
220600034.pl
220600035.pl
220600036.pl
220600037.pl
220600038.pl
220600039.pl
220600040.pl
220600041.pl
220600042.pl
220600043.pl
220600044.pl
220600045.pl
220600046.pl
220600047.pl
220600048.pl
220600049.pl
220600050.pl
220600051.pl
220600052.pl
220600053.pl
220600054.pl
220600055.pl
220600056.pl
220600057.pl
220600058.pl
220600059.pl
220600060.pl
220600061.pl
220600062.pl
220600063.pl
220600064.pl
220600065.pl
220600066.pl
220600067.pl
220600068.pl
220600069.pl
220600070.pl
220600071.pl
220600072.pl
220600073.pl
220600074.pl
220600075.pl
220600076.pl
220600077.pl
220600078.pl
220600079.pl
220600080.pl
220600081.pl
220600082.pl
220600083.pl
220600084.pl
220600085.pl
221100000.pl
221200000.pl
221200001.pl
221200002.pl
221200003.pl
221200004.pl
221200005.pl
221200006.pl
221200007.pl
221200008.pl
221200009.pl
221200010.pl
221200011.pl
221200012.pl
221200013.pl
221200014.pl
221200015.pl
221200016.pl
221200017.pl
221200018.pl
221200019.pl
221200020.pl
221200021.pl
221200022.pl
221200023.pl
221200024.pl
221200025.pl
221200026.pl
221200027.pl
221200028.pl
221200029.pl
221200030.pl
221200031.pl
221200032.pl
221200033.pl
221200034.pl
221200035.pl
221200036.pl
221200037.pl
221200038.pl
221200039.pl
221200040.pl
221200041.pl
221200042.pl
221200043.pl
221200044.pl
221200045.pl
221200046.pl
221200047.pl
221200048.pl
230500000.pl
230600000.pl
230600001.pl
230600002.pl
230600003.pl
230600004.pl
230600005.pl
230600006.pl
230600007.pl Bug 36978: (Bug 34029 follow-up) Make update idempotent 2024-06-10 12:00:58 +01:00
230600008.pl
230600009.pl
230600010.pl
230600011.pl
230600012.pl
230600013.pl
230600014.pl
230600015.pl
230600016.pl
230600017.pl
230600018.pl
230600019.pl
230600020.pl
230600021.pl
230600022.pl
230600023.pl
230600024.pl
230600025.pl
230600026.pl
230600027.pl
230600028.pl
230600029.pl
230600030.pl
230600031.pl
230600032.pl
230600033.pl
230600034.pl
230600035.pl
230600036.pl
230600037.pl
230600038.pl
230600039.pl
230600040.pl
230600041.pl
230600042.pl
230600043.pl
230600044.pl
230600045.pl
230600046.pl
230600047.pl
230600048.pl
230600049.pl
230600050.pl
230600051.pl
230600052.pl Bug 36790: List table columns for 230600052 queries 2024-05-06 15:04:30 +02:00
230600053.pl
230600054.pl
230600055.pl
230600056.pl
230600057.pl
230600058.pl
230600059.pl
230600060.pl
230600061.pl
230600062.pl
230600063.pl
230600064.pl
230600065.pl
230600066.pl
230600067.pl
230600068.pl
230600069.pl
230600070.pl
230600071.pl
230600072.pl
230600073.pl
230600074.pl
230600075.pl
230600076.pl
230600077.pl
230600078.pl
230600079.pl
231100000.pl
231200000.pl
231200001.pl
231200002.pl
231200003.pl
231200004.pl
231200005.pl
231200006.pl
231200007.pl
231200008.pl
231200009.pl
231200010.pl
231200011.pl
231200012.pl
231200013.pl
231200014.pl
231200015.pl
231200016.pl
231200017.pl
231200018.pl
231200019.pl
231200020.pl
231200021.pl
231200022.pl Bug 35724: DBRev 23.12.00.022 2024-04-19 18:31:37 +02:00
231200023.pl Bug 36993: Upgrade fails at 23.12.00.023 [Bug 32132] 2024-06-05 14:33:54 +01:00
231200024.pl Bug 35151: DBRev 23.12.00.024 2024-04-19 19:54:36 +02:00
231200025.pl Bug 33393: DBRev 23.12.00.025 2024-04-19 19:54:48 +02:00
231200026.pl Bug 35616: DBRev 23.12.00.026 2024-04-22 08:57:37 +02:00
231200027.pl Bug 36206: DBRev 23.12.00.027 2024-04-26 14:14:58 +02:00
231200028.pl Bug 16122: DBRev 23.12.00.028 2024-04-26 14:15:03 +02:00
231200029.pl Bug 35919: DBRev 23.12.00.029 2024-04-26 17:06:07 +02:00
231200030.pl Bug 35728: DBRev 23.12.00.030 2024-04-26 18:06:06 +02:00
231200031.pl Bug 31791: DBRev 23.12.00.031 2024-04-26 20:15:40 +02:00
231200032.pl Bug 33478: DBRev 23.12.00.032 2024-04-26 20:15:48 +02:00
231200033.pl Bug 31652: DBRev 23.12.00.033 2024-04-29 15:19:35 +02:00
231200034.pl Bug 12802: DBRev 23.12.00.034 2024-04-29 17:37:56 +02:00
231200035.pl Bug 29393: DBRev 23.12.035 2024-04-29 17:38:03 +02:00
231200036.pl Bug 35138: DBRev 23.12.00.035 2024-04-30 12:01:01 +02:00
231200037.pl Bug 35628: DBRev 23.12.00.037 2024-04-30 12:01:07 +02:00
231200038.pl Bug 32435: DBRev 23.12.00.038 2024-04-30 12:01:10 +02:00
231200039.pl Bug 36002: DBRev 23.12.00.039 2024-04-30 17:09:45 +02:00
231200040.pl Bug 32610: DBRev 23.12.00.040 2024-04-30 17:09:53 +02:00
231200041.pl Bug 15565: DBRev 23.12.00.041 2024-05-02 13:19:15 +02:00
231200042.pl Bug 35657: DBRev 23.12.00.042 2024-05-02 15:03:38 +02:00
231200043.pl Bug 25159: (QA follow-up) Make DBRev idempotent 2024-05-06 15:04:30 +02:00
231200044.pl Bug 37000: (Bug 36120 follow-up) Improve reliability of database update 2024-06-10 16:35:43 +01:00
231200045.pl Bug 22740: DBRev 23.12.00.045 2024-05-03 19:31:56 +02:00
231200046.pl Bug 27753: DBRev 23.12.00.046 2024-05-06 09:12:15 +02:00
231200047.pl Bug 35169: DBRev 23.12.00.047 2024-05-07 15:53:50 +02:00
231200048.pl Bug 33134: DBRev 23.12.00.048 2024-05-07 15:53:51 +02:00
231200049.pl Bug 36396: DBRev 23.12.00.049 2024-05-07 15:53:56 +02:00
231200050.pl Bug 36687: DBRev 23.12.00.050 2024-05-08 18:23:45 +02:00
231200051.pl Bug 31097: DBRev 23.12.00.051 2024-05-08 18:23:52 +02:00
231200052.pl Bug 32256: DBRev 23.12.00.052 2024-05-08 18:23:56 +02:00
231200053.pl Bug 36755: DBRev 23.12.00.053 2024-05-08 18:23:59 +02:00
231200054.pl Bug 19768: DBRev 23.12.00.054 2024-05-08 20:04:10 +02:00
231200055.pl Bug 30047: DBRev 23.12.00.055 2024-05-10 16:45:52 +02:00
231200056.pl Bug 35149: DBRev 23.12.00.056 2024-05-13 10:36:09 +02:00
231200057.pl Bug 29948: DBRev 23.12.00.057 2024-05-13 14:00:13 +02:00
231200058.pl Bug 28869: DBRev 23.12.00.058 2024-05-17 10:36:25 +02:00
231200059.pl Bug 36819: DBRev 23.12.00.059 2024-05-22 16:18:06 +02:00
231200060.pl Bug 36665: DBRev 23.12.00.060 2024-05-22 16:18:13 +02:00
231200061.pl Bug 36986L (follow-up) Ensure idempotency 2024-06-05 18:12:03 +01:00
240500000.pl Koha 24.05 is here! 2024-05-27 18:26:45 +02:00
240600000.pl DBRev 24.06.00.000: Start of a new release cycle 2024-05-31 16:31:37 +02:00
240600001.pl Bug 36986: (follow-up) Ensure idempotency 2024-06-06 07:30:37 +01:00