Update db.py

This commit is contained in:
akp 2022-10-30 07:57:38 +00:00
parent 5fe92bfc8e
commit c941d00555
No known key found for this signature in database
GPG key ID: AA5726202C8879B7

View file

@ -85,7 +85,7 @@ class DB:
cursor.execute(
"""
CREATE TABLE IF NOT EXISTS entries
([ID] STRING PRIMARY KEY, [title] TEXT, [latitude] FLOAT, [longitude] FLOAT, [votes] INTEGER, [image_url], STRING)
([ID] STRING PRIMARY KEY, [title] TEXT, [latitude] FLOAT, [longitude] FLOAT, [votes] INTEGER, [image_url] STRING)
"""
)
cursor.execute(