mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 10:36:57 -07:00
Add index to sessions_continued database table
This commit is contained in:
parent
031bef8c02
commit
e555b7e456
1 changed files with 3 additions and 0 deletions
|
@ -2119,6 +2119,9 @@ def dbcheck():
|
|||
c_db.execute(
|
||||
'CREATE UNIQUE INDEX IF NOT EXISTS idx_imgur_lookup ON imgur_lookup (img_hash)'
|
||||
)
|
||||
c_db.execute(
|
||||
'CREATE UNIQUE INDEX IF NOT EXISTS idx_sessions_continued ON sessions_continued (user_id, machine_id, media_type)'
|
||||
)
|
||||
|
||||
conn_db.commit()
|
||||
c_db.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue