Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c40a4c0e5 | ||
|
|
c3f25b6b54 | ||
|
|
e36b2425aa | ||
|
|
d7a0480c2b |
@@ -19,6 +19,15 @@ class ChannelIds:
|
|||||||
voting: int
|
voting: int
|
||||||
|
|
||||||
|
|
||||||
|
@dataclass
|
||||||
|
class ClanPointSettings:
|
||||||
|
"""Class defines settings for Clan Points editable by Clan Council."""
|
||||||
|
|
||||||
|
points: int
|
||||||
|
verify: bool
|
||||||
|
weekly_limit: int
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Election:
|
class Election:
|
||||||
"""Class defines relevant election dates."""
|
"""Class defines relevant election dates."""
|
||||||
|
|||||||
@@ -60,3 +60,18 @@ CREATE TABLE EventPointsLimit (
|
|||||||
Week varchar(7) not null,
|
Week varchar(7) not null,
|
||||||
PRIMARY KEY (UserId, Week)
|
PRIMARY KEY (UserId, Week)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE TABLE ClanPoints (
|
||||||
|
QuarterName varchar(30) not null,
|
||||||
|
UserId varchar(32) not null,
|
||||||
|
DiscordMember boolean not null,
|
||||||
|
Points int unsigned DEFAULT 0,
|
||||||
|
PRIMARY KEY (QuarterName, UserId)
|
||||||
|
);
|
||||||
|
|
||||||
|
CREATE TABLE ClanPointsLimit (
|
||||||
|
UserId varchar(32) not null,
|
||||||
|
Points int unsigned DEFAULT 0,
|
||||||
|
Week varchar(7) not null,
|
||||||
|
PRIMARY KEY (UserId, Week)
|
||||||
|
);
|
||||||
Reference in New Issue
Block a user