Files
OpenFUT-Core/migrations/0021_sbc_challenge_squads.sql
T
funman300 271c3639ed
CI / Build, lint & test (push) Failing after 52s
feat(sbc): make submissions atomic and durable
2026-08-18 18:26:23 +00:00

10 lines
370 B
SQL

-- Core owns durable per-profile working squads for SBC challenges. The FIFA17
-- adapter maps its numeric challenge id to the opaque generic sbc_id.
CREATE TABLE sbc_challenge_squads (
profile_id TEXT NOT NULL REFERENCES profiles(id),
sbc_id TEXT NOT NULL,
owned_card_ids TEXT NOT NULL,
updated_at TEXT NOT NULL,
PRIMARY KEY (profile_id, sbc_id)
);