separate migrations

This commit is contained in:
callebtc
2022-12-06 16:21:19 +01:00
parent 00a3bd9ce7
commit 3bb11dc487
2 changed files with 9 additions and 3 deletions
+2
View File
@@ -132,6 +132,8 @@ class Database(Compat):
import psycopg2 # type: ignore
def _parse_timestamp(value, _):
if value is None:
return None
f = "%Y-%m-%d %H:%M:%S.%f"
if not "." in value:
f = "%Y-%m-%d %H:%M:%S"