It was lowercase on MariaDB 10.4 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
7d3a3cd74c
commit
5e5733dcb7
@ -2,7 +2,7 @@
|
||||
{% set attribute = submit_attribute %}
|
||||
{# MariaDB has additional parentheses #}
|
||||
{% elseif column_meta['Extra'] is defined
|
||||
and ('on update CURRENT_TIMESTAMP' in column_meta['Extra'] or 'on update CURRENT_TIMESTAMP()' in column_meta['Extra']) %}
|
||||
and ('on update current_timestamp' in column_meta['Extra'] or 'on update current_timestamp()' in column_meta['Extra']|lower) %}
|
||||
{% set attribute = 'on update CURRENT_TIMESTAMP' %}
|
||||
{% elseif extracted_columnspec['attribute'] is defined %}
|
||||
{% set attribute = extracted_columnspec['attribute'] %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user