Skip to content

Commit

Permalink
Fix SQLite datetime handling regression bug
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliom committed Apr 16, 2019
1 parent de5a61c commit 0b0f9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odm2api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
BigIntegerType = BigIntegerType.with_variant(mysql.BIGINT(), 'mysql')

DateTimeType = DateTime()
DateTimeType = DateTimeType.with_variant(sqlite.INTEGER(), 'sqlite')
DateTimeType = DateTimeType.with_variant(sqlite.DATETIME(), 'sqlite')


def is_hex(s):
Expand Down

0 comments on commit 0b0f9ab

Please sign in to comment.