Skip to content

Commit 0b0f9ab

Browse files
committed
Fix SQLite datetime handling regression bug
1 parent de5a61c commit 0b0f9ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

odm2api/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
BigIntegerType = BigIntegerType.with_variant(mysql.BIGINT(), 'mysql')
1515

1616
DateTimeType = DateTime()
17-
DateTimeType = DateTimeType.with_variant(sqlite.INTEGER(), 'sqlite')
17+
DateTimeType = DateTimeType.with_variant(sqlite.DATETIME(), 'sqlite')
1818

1919

2020
def is_hex(s):

0 commit comments

Comments
 (0)