mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
mysql compatibility
This commit is contained in:
parent
af46f0bca1
commit
f95581e7c0
1 changed files with 2 additions and 2 deletions
|
|
@ -6,8 +6,8 @@ CREATE TABLE IF NOT EXISTS `sa_warns` (
|
||||||
`admin_name` varchar(128) NOT NULL,
|
`admin_name` varchar(128) NOT NULL,
|
||||||
`reason` varchar(255) NOT NULL,
|
`reason` varchar(255) NOT NULL,
|
||||||
`duration` int(11) NOT NULL,
|
`duration` int(11) NOT NULL,
|
||||||
`ends` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
`ends` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
`created` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
|
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
`server_id` int(11) DEFAULT NULL,
|
`server_id` int(11) DEFAULT NULL,
|
||||||
`status` enum('ACTIVE','EXPIRED','') NOT NULL DEFAULT 'ACTIVE',
|
`status` enum('ACTIVE','EXPIRED','') NOT NULL DEFAULT 'ACTIVE',
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue