mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 14:20:29 -04:00
6 lines
287 B
SQL
6 lines
287 B
SQL
CREATE TABLE `PollVotes` (
|
|
`UserId` int(10) unsigned NOT NULL,
|
|
`PollItemId` int(10) unsigned NOT NULL,
|
|
`Created` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
|
UNIQUE KEY `idxUnique` (`PollItemId`,`UserId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|