Mineplex/Mineplex.Database/007-accountpolls.sql
Daniel Waggner fc179e824b Database go brrrrrrr
No idea why, but the database deleted all of the information...  These files are also logged in the Discord Changelog channel and are uploaded to mediafire... Nevertheless, here they are anyhow (plus a bunch of empty tables that I'm too lazy to take out of this commit)
2021-05-28 22:22:21 -07:00

17 lines
315 B
SQL

create or replace table accountpolls
(
id int auto_increment,
accountId int not null,
pollId int not null,
value tinyint not null,
primary key (id, accountId, pollId)
)
charset=latin1;
create or replace index accountId
on accountpolls (accountId);
create or replace index pollId
on accountpolls (pollId);