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

This commit is contained in:
Jay Trees 2024-05-29 17:27:17 +02:00
parent 4019908147
commit bf5c68debe

View file

@ -389,6 +389,7 @@ switch ($step) {
/** /**
* Sessions * Sessions
*/ */
$database->query('DROP TABLE IF EXISTS `sessions`;');
$database->query( $database->query(
'CREATE TABLE `sessions` ( 'CREATE TABLE `sessions` (
`id` INT NOT NULL PRIMARY KEY AUTO_INCREMENT, `id` INT NOT NULL PRIMARY KEY AUTO_INCREMENT,