edited error in places table to change fields to foreign keys
This commit is contained in:
parent
8e5f12c03c
commit
f905d9ccc4
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class DB:
|
|||
''')
|
||||
cursor.execute('''
|
||||
CREATE TABLE IF NOT EXISTS places_visited
|
||||
([ID] INTEGER PRIMARY KEY, [userID] INTEGER, [entryID] INTEGER)
|
||||
([ID] INTEGER PRIMARY KEY, [userID] INTEGER FOREIGN KEY, [entryID] INTEGER FOREIGN KEY)
|
||||
''')
|
||||
|
||||
cursor.commit()
|
||||
|
|
Reference in a new issue