From 091073cacb71f3ac11e2bc28d3ea272194f7251f Mon Sep 17 00:00:00 2001 From: George Lacey Date: Thu, 6 May 2021 14:21:11 +0100 Subject: [PATCH] Correct last_modified type --- src/borgmanager/database/connection/repoconn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borgmanager/database/connection/repoconn.py b/src/borgmanager/database/connection/repoconn.py index 7560e8c..a53e6e6 100644 --- a/src/borgmanager/database/connection/repoconn.py +++ b/src/borgmanager/database/connection/repoconn.py @@ -11,7 +11,7 @@ class RepoConn(DatabaseConnection): f"id INTEGER PRIMARY KEY," \ f"fingerprint TEXT NOT NULL UNIQUE," \ f"location TEXT NOT NULL," \ - f"last_modified TIMESTAMP NOT NULL)" + f"last_modified TEXT TIMESTAMP NOT NULL)" self.sql_execute(create_statement) def _insert(self, record, repo_id=None, archive_id=None, label_id=None) -> int: