c5ac1a3ecf
Bug 30484: DBRev 22.06.00.053
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-23 09:33:43 -03:00
09bbc5e845
Bug 25375: DBRev 22.06.00.052
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-23 09:13:24 -03:00
85030fc38a
Bug 7021: DBRev 22.06.00.051
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-22 09:43:41 -03:00
734c8fe70e
Bug 30497: DBRev 22.06.00.050
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-22 08:38:10 -03:00
4a27800c62
Bug 30490: DBRev 22.06.00.049
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-22 08:33:09 -03:00
9be197d567
Bug 30472: DBRev 22.06.00.048
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-16 16:56:44 -03:00
244f68b1e0
Bug 30025: DBRev 22.06.00.047
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-16 16:52:16 -03:00
4b4b8b9d54
Bug 15348: DBRev 22.06.00.046
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-16 10:59:04 -03:00
b56a874a16
Bug 29144: DBRev 22.06.00.045
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-16 10:25:07 -03:00
c4b37e9113
Bug 26247: (follow-up) Fix permissions
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-13 21:03:20 -03:00
1183ae6961
Bug 26247: DBRev 22.06.00.044
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-13 13:33:17 -03:00
4ccb34513a
Bug 20058: DBRev 22.06.00.043
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-12 17:45:52 -03:00
b2cce0d9f5
Bug 27981: DBRev 22.06.00.042
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-12 15:21:38 -03:00
ea3795aa73
Bug 30483: DBRev 22.06.00.041
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-12 08:39:03 -03:00
b89b1d6c3d
Bug 30619: DBRev 22.06.00.040
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-07 17:50:18 -07:00
c47194153b
Bug 31374: DBRev 22.06.00.039
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-07 13:36:52 -07:00
Katrin Fischer
e110534e1c
Bug 31170: (QA follow-up) Fix capitalization in database update
...
As this has not been released yet, we can also fix the database
update to not introduce the wrong capitalization in the first
place.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-07 12:04:55 -07:00
6e127ad894
Bug 30335: Fix DBRev permissions
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-31 10:18:23 -03:00
e574aea6bb
Bug 30335: DBRev 22.06.00.038
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-31 08:44:14 -03:00
ad080e7e95
Bug 23681: DBRev 22.06.00.037
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-25 08:50:41 -03:00
1611fc4c39
Bug 31017: DBRev 22.06.00.036
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-19 16:26:23 -03:00
d68831bde5
Bug 28787: DBRev 22.06.00.035
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-09 13:42:21 -03:00
4b9179b0d5
Bug 29897: DBRev 22.06.00.034
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-09 11:58:06 -03:00
fe3339528e
Bug 27779: DBRev 22.06.00.033
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-08 13:40:13 -03:00
45d9dd8c42
Bug 30500: DBRev 22.06.00.032
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-05 11:56:24 -03:00
e544ff4345
Bug 29632: (QA follow-up) Fix COMMENT discrepancy on upgrade
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-04 09:55:16 -03:00
657a9f2899
Bug 30650: (QA follow-up) Fix TINYINT fields discrepancy on upgrade
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-04 09:47:38 -03:00
e92827b9bd
Bug 30879: DBRev 22.06.00.031
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-02 09:41:54 -03:00
494a6d7863
Bug 31274: DBRev 22.06.00.030
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-02 09:30:28 -03:00
1c924bbcf4
Bug 30392: DBRev 22.06.00.029
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-01 14:35:35 -03:00
35e0340049
Bug 30077: DBRev 22.06.00.028
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-01 14:13:37 -03:00
d990595d84
Bug 23919: DBRev 22.06.00.027
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-01 14:12:30 -03:00
8bba933d48
Bug 30984: DBRev 22.06.00.026
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-01 09:26:59 -03:00
a549829701
Bug 14364: DBRev 22.06.00.025
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-29 16:06:12 -03:00
51cef8c0ec
Bug 29012: DBRev 22.06.00.024
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-29 16:04:12 -03:00
5f831bcf52
Bug 22456: DBRev 22.06.00.023
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-29 15:33:13 -03:00
c02dae9380
Bug 30650: DBRev 22.06.00.022
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-29 15:20:27 -03:00
808e484867
Bug 31157: DBRev 22.06.00.021
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-22 15:18:06 -03:00
a85d08c765
Bug 31086: DBRev 22.06.00.020
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-22 14:41:15 -03:00
7b03771eb2
Bug 30933: DBRev 22.06.00.019
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-20 09:16:47 -03:00
7d65cd5db4
Bug 11889: DBRev 22.06.00.018
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-19 11:21:00 -03:00
ef32afd5ea
Bug 29632: DBRev 22.06.00.017
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-18 12:05:40 -03:00
70ff3607b5
Bug 28854: Fix permissions problem
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-13 19:09:39 -03:00
c9aa31d166
Bug 28854: DBRev 22.06.00.016
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-13 16:22:21 -03:00
5476be0c90
Bug 28854: DBRev 22.06.00.015
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-13 12:21:05 -03:00
e49a23f2d5
Bug 24857: DBRev 22.06.00.014
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-08 16:23:05 -03:00
988abb6647
Bug 24865: DBRev 22.06.00.013
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-05 11:41:34 -03:00
ae9c951160
Bug 24010: DBRev 22.06.00.012
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-05 11:11:54 -03:00
b4a9d0323e
Bug 30275: DBRev 22.06.00.011
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-05 09:50:05 -03:00
ad313c37af
Bug 30823: DBRev 22.06.00.010
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-01 16:13:52 -03:00
41ddbd7b2f
Bug 30889: DBRev 22.06.00.009
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-01 09:14:18 -03:00
cccfccca76
Bug 30327: DBRev 22.06.00.008
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-25 15:30:47 -03:00
b6dcd3cbd3
Bug 29129: DBRev 22.06.00.007
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-25 11:16:23 -03:00
5e5481ea44
Bug 21978: DBRev 22.06.00.006
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-24 12:31:39 -03:00
0810d7d343
Bug 24239: DBRev 22.06.00.005
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-23 15:55:54 -03:00
251a3bb584
Bug 12446: (QA follow-up) Rename canbeguarantee => can_be_guarantee
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-23 13:34:05 -03:00
9d6d1cbd18
Bug 12446: (QA follow-up) Minor kohastructure.sql fix
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-23 13:34:00 -03:00
d1fbd8b3c6
Bug 12446: DBRev 22.06.00.004
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-23 13:33:55 -03:00
bccec37915
Bug 30924: DBRev 22.06.00.003
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-16 11:36:43 -03:00
d3e6c3c709
Bug 30912: Fix db rev 21.12.00.016
...
This is a mix of Nick's patch and Jonathan's comment on it. I tested it
with KTD using MySQL 8 and it works correctly.
To test:
1. Launch KTD with bells and whistles:
$ docker compose -f docker-compose.yml \
-f docker-compose.mysql8.0.yml \
up -d
2. Inside of it, do:
$ koha-mysql kohadev
> update systempreferences set value="21.1200015" where variable="version";
> \q
$ restart_all
$ updatedatabase
=> SUCCESS: All good :-D
3. Run:
$ koha-mysql kohadev
> update systempreferences set value="21.1200015" where variable="version";
> ALTER TABLE user_permissions DROP PRIMARY KEY;
> \q
$ updatedatabase
=> FAIL: You get:
Upgrade to 21.12.00.016 [12:47:09]: Bug 30060 - Update user_permissions to add primary key and remove null option from code column
ERROR - {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF EXISTS `PRIMARY`' at line 1 at /kohadevbox/koha/C4/Installer.pm line 739
4. Apply this patch
5. Run:
$ updatedatabase
=> SUCCESS: Update goes well
6. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-13 10:54:55 -03:00
19068801ef
Bug 30850: DBRev 22.06.00.002
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-08 11:25:26 -03:00
129e353685
Bug 30899: Correct dbrev 211200041
...
Replace DROP CONSTRAINT by DROP FOREIGN KEY.
Note: It seems that we do not need a new dbrev for master. A developer
could follow test plan below to correct if really needed.
Test plan:
NOTE: When you check show create table, verify that you see an index for category_code and a foreign key called borrower_attribute_types_ibfk_1.
[1] cp installer/data/mysql/db_revs/211200041.pl installer/data/mysql/atomicupdate/
[2] run updatedatabase; check show create table
[3] alter table borrower_attribute_types drop foreign key borrower_attribute_types_ibfk_1; alter table borrower_attribute_types drop index category_code; RUN updatedatabase again; check show create table
[4] alter table borrower_attribute_types drop foreign key borrower_attribute_types_ibfk_1; ALTER TABLE borrower_attribute_types ADD CONSTRAINT category_code_fk FOREIGN KEY (category_code) REFERENCES categories(categorycode); RUN updatedatabase again; check show create table
[5] rm installer/data/atomicupdate/211200041.pl
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-08 11:04:57 -03:00
314840b82e
Bug 23659: DBRev 22.06.00.001
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-06 11:43:41 -03:00
554c9cb7d9
Koha 22.06 - start of a new dev cycle
...
The road of excess
leads to the palace of wisdom;
for we never know what is enough
until we know what is more than enough.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-05-31 08:43:28 -03:00
78f89459f4
Koha 22.05.00 is here!
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-25 23:56:14 -10:00
0ffd2ee8da
Bug 30852: DBRev 21.12.00.057
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-25 20:36:34 -10:00
92e37d5630
Bug 30728: Fix typo 'in real time'
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-12 22:17:46 -10:00
ac95c0a8b7
Bug 30728: BDRev 21.12.00.056
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-12 22:17:46 -10:00
fb0eecfc6e
Bug 13142: DBRev 21.12.00.055
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-10 23:09:09 -10:00
350cf44770
Bug 23352: DBRev 21.12.00.054
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-10 15:17:18 -10:00
81ed12df8c
Bug 30611: DBRev 21.12.00.053
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-10 15:17:17 -10:00
032deac223
Bug 30290: DBRev 21.12.00.052
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-10 15:17:17 -10:00
36e60f52ac
Bug 29925: DBRev 21.12.00.051
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-06 10:33:09 -10:00
e45aef832a
Bug 29924: DBRev 21.12.00.050
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-06 10:33:09 -10:00
578da5f21f
Bug 30563: DBRev 21.12.00.049
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-06 10:33:09 -10:00
c1d036e8f9
Bug 30291: DBRev 21.12.00.048
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-05 11:17:36 -10:00
b2c7bc84a2
Bug 28138: DBRev 21.12.00.047
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-04 14:29:23 -10:00
Aleisha Amohia
bbcc781ba4
Bug 30600: Fix recall reasons for branch transfers
...
When a recall triggers a branch transfer, the reason for the transfer is
'Recall'.
When a transfer is cancelled that was triggered by a recall, depending
on where it is cancelled, will use the 'Manual' or 'CancelRecall'
cancellation reasons.
This patch ensures branchtransfers.cancellation_reason adds 'CancelRecall',
and branchtransfers.reason adds 'Recall' as options.
Sponsored-by: Catalyst IT
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-04 14:29:23 -10:00
a64e20b39c
Bug 22785: DBRev 21.12.00.046
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-03 11:19:50 -10:00
b0c98b13cc
Bug 14242: DBRev 21.12.00.045
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-03 11:19:50 -10:00
93b4029438
Bug 29894: DBRev 21.12.00.044
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-02 11:22:58 -10:00
305b526909
Bug 30108: DBRev 21.12.00.043
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-02 11:22:58 -10:00
119a6f3cca
Bug 30572: DBRev 21.12.00.042
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-02 11:22:57 -10:00
cdac4f17c3
Bug 30449: DBRev 21.12.00.041
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-02 11:22:57 -10:00
a8a32f1124
Bug 30565: DBRev 21.12.00.040
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-02 11:22:57 -10:00
c48aac0ffc
Bug 29092: DBRev 21.12.00.039
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-27 11:20:45 -10:00
af206b78bc
Bug 29648: DBRev 21.12.00.038
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-27 11:20:45 -10:00
fb41768d9f
Bug 27253: (follow-up) Fix UNIXTIME(0) in db_revs/211200037.pl
...
MariaDB [koha_myclone]> update borrowers set updated_on=COALESCE( NULL, FROM_UNIXTIME(0) ) where borrowernumber=51;
ERROR 1292 (22007): Incorrect datetime value: '1970-01-01 00:00:00' for column `koha_myclone`.`borrowers`.`updated_on` at row 1
MariaDB [koha_myclone]> update borrowers set updated_on=COALESCE( NULL, FROM_UNIXTIME(1) ) where borrowernumber=51;
Query OK, 1 row affected (0.008 sec)
Rows matched: 1 Changed: 1 Warnings: 0
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested by switching updated_on to datetime. Remove NOT NULL, etc.
Copied dbrev to atomicupdate folder.
Resulted in:
Updated all NULL values of borrowers.updated_on to GREATEST(date_renewed, dateenrolled, lastseen): 51 rows updated
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-25 10:00:22 -10:00
31c4d213e3
Bug 27253: DBRev 21.12.00.037
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-21 21:01:09 -10:00
8e48d69d9e
Bug 28786: DBRev 21.12.00.036
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-20 20:43:15 -10:00
0f9e82f655
Bug 30226: DBRev 21.12.00.035
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-20 20:43:15 -10:00
3fdcc4cde3
Bug 30237: DBRev 21.12.00.034
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-20 09:03:39 -10:00
51192f9895
Bug 27783: DBRev 21.12.00.033
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-13 15:55:40 +02:00
2876e87622
Bug 30498: DBRev 21.12.00.032
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-13 15:55:40 +02:00
80f7355571
Bug 30481: DBRev 21.12.00.031
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-13 15:55:39 +02:00
d12e2645e6
Bug 30135: DBRev 21.12.00.030
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-13 15:55:39 +02:00
ce51b4daef
Bug 30130: Add DBRev 21.12.00.029
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-13 15:55:39 +02:00
6f101d68b6
Bug 16258: Add DBRev 21.12.00.028
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-13 15:55:39 +02:00
6d7aa694a9
Bug 26346: DBRev 21.12.00.027
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-12 17:13:02 +02:00
2aaa0b87cf
Bug 17018: DBRev 21.12.00.026
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-12 17:13:02 +02:00
9cad82b3c6
Bug 29990: DBRev 21.12.00.025
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-08 15:49:18 +02:00
18939987f5
Bug 20398: DBRev 21.12.00.024
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-08 15:49:17 +02:00
075cd4b937
Bug 20517: DBRev 21.12.00.023
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-08 15:49:17 +02:00
b025a79345
Bug 11083: DBRev 21.12.00.022
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-08 15:49:15 +02:00
33aa6953f1
Bug 30063: DBRev 21.12.00.021
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-04 16:35:53 +02:00
563836cce1
Bug 30276: (bug 30060 follow-up) Fix 21.12.00.016
...
ERROR 1832 (HY000): Cannot change column 'code': used in a foreign key constraint 'user_permissions_ibfk_2'
Test plan:
Checkout a commit prior to 30060 (c023f63abc
)
reset_all
checkout master+this patch
updatedatabase
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-28 16:00:25 +02:00
4aedda8197
Bug 24221: DBRev 21.12.00.020
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-25 11:01:04 -10:00
6625f8ed50
Bug 27812: DBRev 21.12.00.019
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-17 11:22:56 -10:00
975f52a4cf
Bug 19532: (RM follow-up) Fix recalls.old is default 0
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-15 00:31:32 -10:00
9cb2ff97d2
Bug 19532: DBRev 21.12.00.018
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-14 22:45:52 -10:00
23334aa6ca
Bug 30128: DBrev 21.12.00.017
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-08 23:03:34 -10:00
fd1c259c0d
Bug 30185: Missing return in db rev 210600003.pl
...
db rev files are constructed with a return {...}, db rev 210600003.pl is missing return word.
I don't know if it can impact the db upgrade but we should fix it for consistency.
To test upgrade from a version 21.05 and check db rev is applied.
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-01 22:47:47 -10:00
109925459b
Bug 30060: DBRev 21.12.00.016
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-24 14:35:36 -10:00
bb316c5ded
Bug 29943: DBRev 21.12.00.015
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-01 21:39:39 -10:00
c346481429
Bug 29596: DBRev 21.12.00.014
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-01 21:39:39 -10:00
6935a30cfc
Bug 29605: DBRev 21.12.00.013
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-01 21:39:39 -10:00
440f31c268
Bug 29605: branchtransfers.cancellation_reason
...
reason and cancellation_reason was inversed, and the enum values were
lower cases
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-01 21:39:39 -10:00
36635845d2
Bug 29605: search_marc_map.marc_type
...
NOT NULL was missing when MODIFY
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-01 21:39:39 -10:00
934dba4f07
Bug 29605: account_offsets.type is not null
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-01 21:39:39 -10:00
8022543d93
Bug 29605: Missing FK on tmp_holdsqueue.borrowernumber (tmp_holdsqueue_ibfk_3)
...
Bad copy paste on the foreign_key_exists condition
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-02-01 21:39:39 -10:00
b2c5945340
Bug 24220: DBRev 21.12.00.012
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-31 21:55:40 -10:00
9cd36f4948
Bug 27946: DBRev 21.12.00.011
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-28 11:09:07 -10:00
3d9dfe8e8c
Bug 21729: DBRev 21.12.00.010
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-28 11:09:06 -10:00
4962a4395d
Bug 29336: DBRev 21.12.00.009
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-18 21:15:05 -10:00
a3c2bf7b03
Bug 29495: DBRev 21.12.00.008
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-17 14:55:56 -10:00
6c84f705d0
Bug 20076: DBRev 21.12.00.007
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-13 16:37:33 -10:00
42491ed1c3
Bug 29557: DBRev 21.12.00.006
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-11 12:38:35 -10:00
e2e2e4bed2
Bug 29778: DBREv 21.12.00.005
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-09 21:04:17 -10:00
3eb7480e0c
Bug 26296: DBrev 21.12.00.004
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-09 21:04:17 -10:00
fc690e8f84
Bug 29457: DBRev 21.12.00.003
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-12-21 20:44:15 -10:00
c403c972ca
Bug 13188: DBRev 21.12.00.002
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-12-14 09:48:51 -10:00
5795f8f5cb
Bug 29586: DB Rev 21.12.00.001
...
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-12-13 16:02:55 -10:00
d5257fd99a
Bug 29631: (QA follow-up) Add missing cleanups
...
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-12-13 15:46:20 -10:00
9c2929a351
Bug 29631: Prevent uniq_lang creation to fail
...
We got 2 reports of this problem in the last 24h, uniq_lang unique key is failing to be created because several rows with the same (subtag, type) exist in DB.
I have no idea how this is possible, but apparently it is.
Test plan:
Checkout a commit before 21.06.00.012
reset_all
Create duplicate in language_subtag_registry
> insert into language_subtag_registry(subtag, type, description) values('IN', 'region', 'India');
Checkout master+this patch, updatedatabase
=> Only 1 IN-region exists in the DB, the last one.
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-12-13 15:46:20 -10:00
6f1082166e
Koha 21.12 - start of a new dev cycle
...
All that is gold does not glitter,
Not all those who wander are lost;
The old that is strong does not wither,
Deep roots are not reached by the frost.
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-12-01 20:12:05 -10:00
5b9902487b
Koha 21.11.00 is here!
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-26 12:26:48 +01:00
8ee29390f1
Bug 5229: DBRev 21.06.00.049
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-19 15:23:27 +01:00
8a280a7d54
Bug 29341: DBRev 21.06.00.048
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-19 15:23:27 +01:00
ec3a354415
Bug 28374: DBRev 21.06.00.047
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-15 12:38:39 +01:00
02d094a36c
Bug 27360: (follow-up) DBRev 21.06.00.041
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-15 12:38:39 +01:00
e87dcc7b20
Bug 24224: DBRev 21.06.00.046
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-08 11:42:06 +01:00
fa419b9e4c
Bug 24223: DBRev 21.06.00.045
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-08 11:41:46 +01:00
a691760ac2
Bug 29180: DBRev 21.06.00.044
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-05 12:17:08 +01:00
849d7a3838
Bug 29386: DBRev 21.06.00.043
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-05 12:10:45 +01:00
fac962413e
Bug 26326: Add missing +x flag
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-04 10:38:54 +01:00
f2febaeac4
Bug 26326: DBRev 21.06.00.042
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-03 15:40:52 +01:00
0205ba1c55
Bug 27360: DBRev 21.06.00.041
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-03 15:40:52 +01:00
080197d175
Bug 28263: DBRev 21.06.00.040
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-02 16:50:01 +01:00
900bd815d1
Bug 28959: DBRev 21.06.00.039
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-28 17:47:46 +02:00
aab18ba056
Bug 14957: DBRev 21.06.00.038
...
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-26 16:46:03 +02:00