fix field type

This commit is contained in:
Dario 2020-07-10 10:54:38 +02:00
parent 3d6aac8ebe
commit 264ae6b838

View File

@ -5,7 +5,7 @@ CREATE TABLE `email_opt_in` (
`email_opt_in_type_id` int(11) NOT NULL,
`created` datetime NOT NULL DEFAULT current_timestamp(),
`resend_count` int(11) DEFAULT 0,
`updated` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated` DATETIME on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `verification_code` (`verification_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;