mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
fix: actually make the correct changes to the schema
This commit is contained in:
parent
f5fe31f02e
commit
d1b5a0b01a
1 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ CREATE TABLE IF NOT EXISTS `sa_admins` (
|
||||||
`flags` TEXT NOT NULL,
|
`flags` TEXT NOT NULL,
|
||||||
`immunity` varchar(64) NOT NULL DEFAULT '0',
|
`immunity` varchar(64) NOT NULL DEFAULT '0',
|
||||||
`server_id` INT NULL,
|
`server_id` INT NULL,
|
||||||
`group_id` TEXT NULL,
|
`group_id` INT NULL,
|
||||||
`ends` timestamp NULL,
|
`ends` timestamp NULL,
|
||||||
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
|
|
@ -46,6 +46,7 @@ CREATE TABLE IF NOT EXISTS `sa_servers` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`address` varchar(64) NOT NULL,
|
`address` varchar(64) NOT NULL,
|
||||||
`hostname` varchar(128) NOT NULL,
|
`hostname` varchar(128) NOT NULL,
|
||||||
|
`group_ids` TEXT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `address` (`address`)
|
UNIQUE KEY `address` (`address`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue