diff --git a/src/Controller/DatabaseConnection.php b/src/Controller/DatabaseConnection.php index 332fb57..65661ec 100644 --- a/src/Controller/DatabaseConnection.php +++ b/src/Controller/DatabaseConnection.php @@ -53,9 +53,7 @@ class DatabaseConnection CREATE TABLE `domains` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `panel_id` int(11) DEFAULT 0, - `a` varbinary(255) DEFAULT NULL, - `aaaa` varbinary(255) DEFAULT NULL, + `panel` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"; $statement = $this->dbConnection->prepare(query: $sql); @@ -81,7 +79,7 @@ class DatabaseConnection `aaaa` varbinary(255) DEFAULT NULL, `apikey` varbinary(255) DEFAULT NULL, PRIMARY KEY (`id`) - ) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"; + ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"; $statement = $this->dbConnection->prepare(query: $sql); $statement->execute();