added panel_id
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
3a14eeb3c5
commit
b5003caf6e
@ -33,7 +33,7 @@ class DatabaseConnection
|
||||
$statement->execute();
|
||||
$result = $statement->fetch();
|
||||
if (empty($result)) {
|
||||
|
||||
// ALTER TABLE `domains` ADD `panel_id` INT NULL AFTER `id`;
|
||||
echo 'Error: Cannot find tables.' . PHP_EOL;
|
||||
if (confirm('Should I try to create them?')) {
|
||||
$sql = "
|
||||
@ -51,6 +51,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,
|
||||
PRIMARY KEY (`id`)
|
||||
|
Loading…
Reference in New Issue
Block a user