summaryrefslogtreecommitdiff
path: root/adbh.py
diff options
context:
space:
mode:
Diffstat (limited to 'adbh.py')
-rw-r--r--adbh.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/adbh.py b/adbh.py
index 7aeb1e4..7374172 100644
--- a/adbh.py
+++ b/adbh.py
@@ -465,6 +465,8 @@ class _MyAdvFuncHelper(_GenericAdvFuncHelper):
TYPE_MAPPING['Password'] = 'tinyblob'
TYPE_MAPPING['String'] = 'mediumtext'
TYPE_MAPPING['Bytes'] = 'longblob'
+ # don't use timestamp which is automatically updated on row update
+ TYPE_MAPPING['Datetime'] = 'datetime'
def system_database(self):
"""return the system database for the given driver"""