This commit is contained in:
yumoqing 2020-12-22 15:45:25 +08:00
parent dfef520657
commit 4a3ec24de6

View File

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