team archive more

This commit is contained in:
Robin Appelman 2025-04-16 09:41:31 +02:00
commit b5b7bc953a
8 changed files with 215 additions and 3 deletions

View file

@ -0,0 +1,14 @@
CREATE TABLE membership_history
(
team_id INTEGER NOT NULL,
steam_id BIGINT NOT NULL,
role membership_role NOT NULL,
joined DATE NOT NULL,
"left" DATE
);
CREATE INDEX membership_history_team_id_idx
ON membership_history USING BTREE (team_id);
CREATE INDEX membership_history_steam_id_idx
ON membership_history USING BTREE (steam_id);