diff --git a/Database/Migrations/010_CreateWarnsTable.sql b/Database/Migrations/010_CreateWarnsTable.sql index 86c89f6..de1afa5 100644 --- a/Database/Migrations/010_CreateWarnsTable.sql +++ b/Database/Migrations/010_CreateWarnsTable.sql @@ -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`)