Change some datetime columns to timestamp

This commit is contained in:
Alex Cabal 2024-10-24 16:35:40 -05:00
parent 028c8237a5
commit 88c3049d7a
8 changed files with 10 additions and 10 deletions

View file

@ -1,6 +1,6 @@
CREATE TABLE IF NOT EXISTS `PollVotes` (
`UserId` int(10) unsigned NOT NULL,
`PollItemId` int(10) unsigned NOT NULL,
`Created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`Created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE KEY `idxUnique` (`PollItemId`,`UserId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;