From 28c4497c18f5eb13e279231aa3786ab0ff675372 Mon Sep 17 00:00:00 2001 From: George Lacey Date: Thu, 6 May 2021 14:12:19 +0100 Subject: [PATCH] Correct time type --- src/borgmanager/database/connection/errorconn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borgmanager/database/connection/errorconn.py b/src/borgmanager/database/connection/errorconn.py index 9debc27..d8a108a 100644 --- a/src/borgmanager/database/connection/errorconn.py +++ b/src/borgmanager/database/connection/errorconn.py @@ -15,7 +15,7 @@ class ErrorConn(DatabaseConnection): f"id INTEGER PRIMARY KEY," \ f"label_id INT NOT NULL," \ f"error TEXT NOT NULL," \ - f"time TIMESTAMP NOT NULL," \ + f"time TEXT TIMESTAMP NOT NULL," \ f"FOREIGN KEY (label_id) REFERENCES" \ f" {self.label_table} (id));" self.sql_execute(create_statement)