Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4f3bfe103 | ||
|
|
6827658b4a | ||
|
|
85a3ea0418 |
@@ -25,8 +25,9 @@ CREATE TABLE Votes(
|
|||||||
ElectionCycle varchar(30) not null,
|
ElectionCycle varchar(30) not null,
|
||||||
VoterId bigint unsigned not null,
|
VoterId bigint unsigned not null,
|
||||||
VotedForId bigint unsigned,
|
VotedForId bigint unsigned,
|
||||||
|
Type varchar(14) check("Type" in ('Council','DiscordManager','ClanLeader')),
|
||||||
FOREIGN KEY (ElectionCycle) REFERENCES ElectionInformation(ElectionCycle),
|
FOREIGN KEY (ElectionCycle) REFERENCES ElectionInformation(ElectionCycle),
|
||||||
PRIMARY KEY (ElectionCycle, VoterId)
|
PRIMARY KEY (ElectionCycle, VoterId, Type)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE UserBirthday (
|
CREATE TABLE UserBirthday (
|
||||||
|
|||||||
+5
-5
@@ -1,8 +1,8 @@
|
|||||||
|
GitPython==3.1.43
|
||||||
|
fastapi==0.111.0
|
||||||
|
hydra-core==1.3.2
|
||||||
nextcord==2.4.2
|
nextcord==2.4.2
|
||||||
|
pandas==1.5.2
|
||||||
python-dotenv==1.0.0
|
python-dotenv==1.0.0
|
||||||
pytz==2022.7.1
|
pytz==2022.7.1
|
||||||
hydra-core==1.3.2
|
sqlalchemy==1.4.46
|
||||||
sqlalchemy<2.0
|
|
||||||
pandas==1.5.2
|
|
||||||
fastapi==0.111.0
|
|
||||||
GitPython==3.1.43
|
|
||||||
Reference in New Issue
Block a user