diff --git a/sqlor/ddl_template_mysql.py b/sqlor/ddl_template_mysql.py index 8b39434..70c3815 100755 --- a/sqlor/ddl_template_mysql.py +++ b/sqlor/ddl_template_mysql.py @@ -16,7 +16,7 @@ time {%- elif type=='datetime' -%} datetime {%- elif type=='timestamp' -%} -TIMESTAMP +TIMESTAMP DEFAULT CURRENT_TIMESTAMP {%- elif type=='text' -%} longtext {%- elif type=='bin' -%}