fix(installer): not dropping products table if it exists

This commit is contained in:
Jay Trees 2024-05-29 17:25:08 +02:00
parent 7d61f3020a
commit 4019908147

View file

@ -355,6 +355,7 @@ switch ($step) {
/** /**
* Products * Products
*/ */
$database->query('DROP TABLE IF EXISTS `products`;');
$database->query( $database->query(
'CREATE TABLE `products` ( 'CREATE TABLE `products` (
`wish` INT NOT NULL PRIMARY KEY, `wish` INT NOT NULL PRIMARY KEY,