$m =
new Migration1675082889DropUnusedTables();
$m->
update($this->connection
);
$m->
update($this->connection
);
$triggers =
array_flip(array_column($this->connection->
fetchAllAssociative('SHOW TRIGGERS'
), 'Trigger'
));
static::
assertArrayNotHasKey('customer_address_vat_id_insert',
$triggers);
static::
assertArrayNotHasKey('customer_address_vat_id_update',
$triggers);
static::
assertArrayNotHasKey('order_cash_rounding_insert',
$triggers);
static::
assertFalse(EntityDefinitionQueryHelper::
tableExists($this->connection, 'message_queue_stats'
));
static::
assertFalse(EntityDefinitionQueryHelper::
tableExists($this->connection, 'mail_template_sales_channel'
));
static::
assertFalse(EntityDefinitionQueryHelper::
tableExists($this->connection, 'sales_channel_rule'
));
static::
assertFalse(EntityDefinitionQueryHelper::
columnExists($this->connection, 'customer_address', 'vat_id'
));
static::
assertFalse(EntityDefinitionQueryHelper::
columnExists($this->connection, 'customer', 'newsletter'
));
static::
assertFalse(EntityDefinitionQueryHelper::
columnExists($this->connection, 'product', 'whitelist_ids'
));
static::
assertFalse(EntityDefinitionQueryHelper::
columnExists($this->connection, 'product', 'blacklist_ids'
));
}}