]> git.koha-community.org Git - koha.git/commit
Bug 36790: List table columns for 230600052 queries
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 6 May 2024 10:58:33 +0000 (12:58 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 23 May 2024 07:46:42 +0000 (09:46 +0200)
commitaeae2771bae5975d28403b482805c35d9b64b442
tree06cf434d78eb6ea136f21e709d2d39224c1b142b
parentc80f0882bdb097cf74a8e6d20274949506d79e3c
Bug 36790: List table columns for 230600052 queries

We must list the columns, or the db rev will fail when a new column is
added. It happened here when 33478 added 'style'

Also remove id and dates

To test:
1. On current main, run:
   $ ktd --shell
  k$ perl /kohadevbox/misc4dev/run_tests.pl --koha-dir=. --run-db-upgrade-only
=> FAIL: Tests explode for DB query issues
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit ff183612043b8f37d74fbbd9c306a54c48329d99)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/db_revs/230600052.pl