Skip to content

Commit 7911e8b

Browse files
committed
Use datetime as column type for "entry_date" in database
1 parent 74d15d3 commit 7911e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logstash_async/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
`event_id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
1919
`event_text` TEXT NOT NULL,
2020
`pending_delete` INTEGER NOT NULL,
21-
`entry_date` TEXT NOT NULL);
21+
`entry_date` DATETIME NOT NULL);
2222
''',
2323
'''CREATE INDEX IF NOT EXISTS `idx_pending_delete` ON `event` (pending_delete);''',
2424
'''CREATE INDEX IF NOT EXISTS `idx_entry_date` ON `event` (entry_date);''',

0 commit comments

Comments
 (0)