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>
--
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