Bug 19166: Remove 'IF NOT EXISTS' in kohastructure
The table is removed just before, this clause is useless. It also fixes a test: t/db_dependent/Creators/Lib.t .. 1/645 # Failed test 'get_table_names return all tables matching' # at t/db_dependent/Creators/Lib.t line 1258. # Structures begin differing at: # $got->[10] = 'aqinvoice_adjustments' # $expected->[10] = 'aqinvoices' # Looks like you failed 1 test of 645. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
4d45bd5755
commit
a5492ce96b
1 changed files with 1 additions and 1 deletions
|
@ -3147,7 +3147,7 @@ CREATE TABLE aqinvoices (
|
|||
--
|
||||
|
||||
DROP TABLE IF EXISTS aqinvoice_adjustments;
|
||||
CREATE TABLE IF NOT EXISTS aqinvoice_adjustments (
|
||||
CREATE TABLE aqinvoice_adjustments (
|
||||
adjustment_id int(11) NOT NULL AUTO_INCREMENT, -- primary key for adjustments
|
||||
invoiceid int(11) NOT NULL, -- foreign key to link an adjustment to an invoice
|
||||
adjustment decimal(28,6), -- amount of adjustment
|
||||
|
|
Loading…
Reference in a new issue