[Koha-bugs] [Bug 22634] Standardize table creation for stockrotation* tables in kohacstructure.sql
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Apr 7 08:47:34 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22634
Frédéric Demians <frederic at tamil.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #87373|0 |1
is obsolete| |
--- Comment #2 from Frédéric Demians <frederic at tamil.fr> ---
Created attachment 87482
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87482&action=edit
Bug 22634: Standardize table creation for stockrotation* tables in
kohastructure.sql
The existing pattern is:
DROP TABLE IF EXISTS ...
CRATE TABLE
Stockrotation was using:
CREATE TABLE IF NOT EXISTS ...
which would not recreate the table in a database it's already
existing in possibly causing mismatches in table structure.
To test:
- Drop your database
- Run through the web installer
- Make sure there are no Database/SQL errors
- Makse sure the 4 stockrotation tables have been created
Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list