[Koha-bugs] [Bug 26947] kohastructure.sql should be updated for each release
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 18 16:52:38 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26947
--- Comment #6 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Jonathan Druart from comment #5)
> C4::Installer::load_sql returned the following errors while attempting to
> load /kohadevbox/koha/installer/data/mysql/kohastructure.sql:
> DBD::mysql::st execute failed: Failed to open the referenced table
> 'branches' at /usr/share/perl5/DBIx/RunSQL.pm line 273.
> Something went wrong loading file
> /kohadevbox/koha/installer/data/mysql/kohastructure.sql ([SQL ERROR]: CREATE
> TABLE `account_credit_types_branches` (
>
> Did it work for you?
Actually, the following works:
> DROP DATABASE koha_kohadev
> CREATE DATABASE koha_kohadev
koha-mysql kohadev < installer/data/mysql/kohastructure.sql
But reset_all does not, neither the installer (it says "Database tables
created", but it's wrong...)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list