This commit is contained in:
yumoqing 2020-12-22 15:56:53 +08:00
parent 4a3ec24de6
commit 87a56dd296

View File

@ -23,7 +23,7 @@ NOT NULL
{%- endif -%} {%- endif -%}
{% endmacro %} {% endmacro %}
{% macro primary() %} {% macro primary() %}
,primary key({{','.join(summary[0].primary)}}) ,PRIMARY KEY({{','.join(summary[0].primary)}})
{% endmacro %} {% endmacro %}
DROP TABLE IF EXISTS {{summary[0].name}}; DROP TABLE IF EXISTS {{summary[0].name}};
CREATE TABLE {{summary[0].name}} CREATE TABLE {{summary[0].name}}