]> git.koha-community.org Git - koha.git/commit
Bug 23895: Move installer file into the mandatory directory
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Jun 2020 10:56:56 +0000 (12:56 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Oct 2020 12:50:07 +0000 (14:50 +0200)
commita15a7f5d81bde1a728b77f9ce69d3ff6382782e0
treebbe8a8feef1718eedaa72d047d45201726b0252c
parentb845c5601a8306704be3c00c33b95da454182359
Bug 23895: Move installer file into the mandatory directory

Prior to this patch we had a confusing situation, mandatory files were
in both installer/data/mysql and installer/data/mysql/mandatory
To make things clearer this patch move them all into the mandatory
subdir.
However kohastructure.sql stay in the "root" directory.

Test plan:
1. Drop and recreate your DB and use the installer to populate the DB
2. Use the merge request code from misc4dev to test the reset_all alias
3. Still with the merge request from misc4dev checkout master (you can
also try 19.11 and/or 19.05) and reset_all again
=> All the data from the SQL mandatory files must have been correctly
inserted into the DB

https://gitlab.com/koha-community/koha-misc4dev/-/issues/46

Note that this patch also remove the x flag for subtag_registry.sql

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
16 files changed:
C4/Installer.pm
installer/data/mysql/account_credit_types.sql [deleted file]
installer/data/mysql/account_debit_types.sql [deleted file]
installer/data/mysql/account_offset_types.sql [deleted file]
installer/data/mysql/audio_alerts.sql [deleted file]
installer/data/mysql/mandatory/account_credit_types.sql [new file with mode: 0644]
installer/data/mysql/mandatory/account_debit_types.sql [new file with mode: 0644]
installer/data/mysql/mandatory/account_offset_types.sql [new file with mode: 0644]
installer/data/mysql/mandatory/audio_alerts.sql [new file with mode: 0644]
installer/data/mysql/mandatory/subtag_registry.sql [changed mode: 0755->0644]
installer/data/mysql/mandatory/sysprefs.sql [new file with mode: 0644]
installer/data/mysql/mandatory/userflags.sql [new file with mode: 0644]
installer/data/mysql/mandatory/userpermissions.sql [new file with mode: 0644]
installer/data/mysql/sysprefs.sql [deleted file]
installer/data/mysql/userflags.sql [deleted file]
installer/data/mysql/userpermissions.sql [deleted file]