diff --git a/skins.py b/skins.py index d85f847..3892e93 100644 --- a/skins.py +++ b/skins.py @@ -3,8 +3,8 @@ import psycopg2, json """ CREATE TABLE IF NOT EXISTS skins ( id uuid DEFAULT gen_random_uuid() PRIMARY KEY, - weapon uuid REFERENCES weapons(id), - rarity uuid REFERENCES rarity(id), + weapon uuid REFERENCES weapons(id) NOT NULL, + rarity uuid REFERENCES rarity(id) NOT NULL, paint_index integer NOT NULL, display varchar NOT NULL, min_float float NOT NULL, @@ -47,9 +47,9 @@ for raw in content: for weapon in weapons.keys(): skin = { "weapon": weapons[weapon], - "rarity": rarity["Covert"], + "rarity": rarity["Stock"], "paint_index": 0, - "display": "Default", + "display": "", "min_float": 0, "max_float": 0, "legacy": True