gosora/schema/pgsql/query_polls_votes.sql

7 lines
196 B
SQL

CREATE TABLE "polls_votes" (
`pollID` int not null,
`uid` int not null,
`option` int DEFAULT 0 not null,
`castAt` timestamp not null,
`ipaddress` varchar (200) DEFAULT '0.0.0.0.0' not null
);