Updated database structure
This commit is contained in:
parent
5031682c3a
commit
5a45034d9b
11
database.py
11
database.py
@ -28,10 +28,10 @@ if len(sys.argv) > 1:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# cursor.execute('''DROP TABLE sets''')
|
cursor.execute('''DROP TABLE sets''')
|
||||||
# cursor.execute('''DROP TABLE inventory''')
|
cursor.execute('''DROP TABLE inventory''')
|
||||||
# cursor.execute('''DROP TABLE minifigures''')
|
cursor.execute('''DROP TABLE minifigures''')
|
||||||
# cursor.execute('''DROP TABLE missing''')
|
cursor.execute('''DROP TABLE missing''')
|
||||||
|
|
||||||
cursor.execute('''CREATE TABLE IF NOT EXISTS sets (
|
cursor.execute('''CREATE TABLE IF NOT EXISTS sets (
|
||||||
set_num TEXT,
|
set_num TEXT,
|
||||||
@ -42,6 +42,9 @@ cursor.execute('''CREATE TABLE IF NOT EXISTS sets (
|
|||||||
set_img_url TEXT,
|
set_img_url TEXT,
|
||||||
set_url TEXT,
|
set_url TEXT,
|
||||||
last_modified_dt TEXT,
|
last_modified_dt TEXT,
|
||||||
|
mini_col BOOLEAN,
|
||||||
|
set_check BOOLEAN,
|
||||||
|
set_col, BOOLEAN,
|
||||||
u_id TEXT
|
u_id TEXT
|
||||||
)''')
|
)''')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user