[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
Wed Apr 3 22:38:54 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22634

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 87373
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87373&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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list