Skip to content

Commit

Permalink
mysql compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
daffyyyy committed Aug 12, 2024
1 parent af46f0b commit f95581e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Database/Migrations/010_CreateWarnsTable.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ CREATE TABLE IF NOT EXISTS `sa_warns` (
`admin_name` varchar(128) NOT NULL,
`reason` varchar(255) NOT NULL,
`duration` int(11) NOT NULL,
`ends` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`created` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`ends` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`server_id` int(11) DEFAULT NULL,
`status` enum('ACTIVE','EXPIRED','') NOT NULL DEFAULT 'ACTIVE',
PRIMARY KEY (`id`)
Expand Down

0 comments on commit f95581e

Please sign in to comment.