added new create statements
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
b3ce1d9dbf
commit
fe1270f3d0
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue