mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -07:00
Add blank defaults to conditions and parameters
This commit is contained in:
parent
42b1a0d3de
commit
2e83b42ba9
2 changed files with 12 additions and 6 deletions
|
@ -1070,9 +1070,9 @@ def dbcheck():
|
|||
|
||||
# Upgrade notifiers table from earlier versions
|
||||
try:
|
||||
c_db.execute('SELECT custom_condition FROM notifiers')
|
||||
c_db.execute('SELECT custom_conditions FROM notifiers')
|
||||
except sqlite3.OperationalError:
|
||||
logger.debug(u"Altering database. Updating database table custom_condition.")
|
||||
logger.debug(u"Altering database. Updating database table notifiers.")
|
||||
c_db.execute(
|
||||
'ALTER TABLE notifiers ADD COLUMN custom_conditions TEXT'
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue