mirror of
https://codeberg.org/icewind/ugc-scaper.git
synced 2026-06-03 18:24:10 +02:00
team archive more
This commit is contained in:
parent
59e41ba7a7
commit
b5b7bc953a
8 changed files with 215 additions and 3 deletions
14
archiver/migrations/20250415200113_roster_history.sql
Normal file
14
archiver/migrations/20250415200113_roster_history.sql
Normal 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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue