diff --git a/ddns.py b/ddns.py index c6f8cad..6a6a449 100755 --- a/ddns.py +++ b/ddns.py @@ -475,7 +475,7 @@ def updatedb(): new_column = 'created' info = conn.execute("PRAGMA table_info('subdomains')").fetchall() if not any(new_column in word for word in info): - add_column = "ALTER TABLE subdomains ADD COLUMN created text default '2023-01-01 00:00'" + add_column = "ALTER TABLE subdomains ADD COLUMN created text default '[b]Unknown Info[/b]'" conn.execute(add_column) conn.commit() logging.info(time.strftime("%Y-%m-%d %H:%M") + ' - Info : Database updated')