AMBIOSDGYNMPYZMXP75NX6TWVUJWYWOMKENYTZA72BG2FABV2QCAC
3GGMBQ2NU3GTQ3I5C4TSW5XOWSYDLR3QIRXZWZJK2DP7M5I7QD3QC
IXY6NZLMLIDWQFPI2FBNF2PYJCM2TLNQIZKFUDLTTARHFWFQYCGQC
DNFB7TNICXFHRGPNZTT2I4VQNBPGVA2HQMUJWLNEPHF2M4SRZ3SQC
BCXEUKX6RVE4UQE46ITSQY2NXYK3MJT7HHL7CJOM7T4OOOCADMIAC
XMUKNMKYXU7IGJFZ7JEYTLGQK34KBECXEPPZ7HAKKUHMUOMVFSJAC
IM5ZPD4NEWQ67NSRP3M4R6FBET5HLY5YCX6WOTGGVWIMRGFD3L3AC
OJO4B4QO2JQLMZTGTJJIXEUNDIN45RFLEJBUZBYA7IS34XDPUAVAC
556ZESEOBASTGBUTQ5H5UIHLSUQCFL2JKYY3UMCZILYDUVEBN6NAC
K7FOI6UNZ4UO2WEZ5DO4FHHVJDEJGYV5ZBWUHJZA7DWZ52TODBNAC
ZRU62WXDVY32ZF7AUYONXUQUAKZZGCUFWAYYBA32OXEBARVDVSNAC
NLEIFOAGRNGFH24MAEDEYVKNRSHZCWMHAI232E57QDSOBGLCHO4QC
WVHXYKCVPKAFVMXBEMD3IHG54RKOIDSOCVNR3OIPEZQG36IGYJZQC
-- Add field to mark games as finished and started
DO $$
BEGIN
IF NOT EXISTS (
SELECT 1 FROM pg_type t
INNER JOIN pg_namespace p ON t.typnamespace=p.oid
WHERE t.typname='status' AND p.nspname='games'
) THEN
CREATE TYPE games.status AS ENUM ('started', 'finished');
END IF;
IF NOT EXISTS (
SELECT 1 FROM pg_class c
INNER JOIN pg_namespace n ON n.oid = c.relnamespace
INNER JOIN pg_attribute a ON a.attrelid = c.oid
WHERE c.relname = 'games' AND n.nspname = 'games' AND a.attname = 'status'
) THEN
ALTER TABLE games.games ADD COLUMN status games.status NULL;
END IF;
END
$$;
]
[[package]]
name = "sha-1"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f"
dependencies = [
"cfg-if",
"cpufeatures",
"digest",