mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-05 22:33:59 -07:00
Fix mobile device table migration
This commit is contained in:
parent
0136fc6436
commit
d746d2913f
1 changed files with 1 additions and 1 deletions
|
@ -2043,7 +2043,7 @@ def dbcheck():
|
|||
# Update official mobile device flag
|
||||
for device_id, in c_db.execute('SELECT device_id FROM mobile_devices').fetchall():
|
||||
c_db.execute('UPDATE mobile_devices SET official = ? WHERE device_id = ?',
|
||||
[mobile_app.validate_device_id(device_id), device_id])
|
||||
[mobile_app.validate_onesignal_id(device_id), device_id])
|
||||
|
||||
# Upgrade mobile_devices table from earlier versions
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue