mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
add: sa_players_ips table to upgrade .sql
This commit is contained in:
parent
34f3a6e15a
commit
2432f37bac
1 changed files with 9 additions and 0 deletions
|
|
@ -1,5 +1,14 @@
|
|||
ALTER TABLE `sa_servers` ADD `rcon` varchar(64) NOT NULL AFTER `address`;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `sa_players_ips` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`steamid` bigint(20) NOT NULL,
|
||||
`address` varchar(64) NOT NULL,
|
||||
`used_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `steamid` (`steamid`,`address`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `sa_chatlogs` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`serverId` varchar(64) NOT NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue