diff --git a/database.py b/database.py index 206c1ec..c6ae19e 100644 --- a/database.py +++ b/database.py @@ -76,6 +76,7 @@ cursor.execute('''CREATE TABLE IF NOT EXISTS missing ( set_num TEXT, id INTEGER, part_num INTEGER, + part_img_url_id TEXT, color_id INTEGER, quantity INTEGER, element_id INTEGER, diff --git a/lego.sh b/lego.sh index 3d40954..469ec0e 100644 --- a/lego.sh +++ b/lego.sh @@ -7,6 +7,8 @@ gzip -f -d themes.csv.gz wget https://cdn.rebrickable.com/media/downloads/sets.csv.gz gzip -f -d sets.csv.gz +wget https://cdn.rebrickable.com/media/downloads/colors.csv.gz +gzip -f -d colors.csv.gz cd static/ wget https://rebrickable.com/static/img/nil_mf.jpg