X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=metaform%2Ftemplate.sql;h=85686f84c56535f7595c560bbc6317e845fc654c;hb=608ecf965408645758cdca1e5f01ff5ac3eff166;hp=eee20b385bc3208a041ce65d3d9672b05019a941;hpb=3698f739c8155069451c61085ab925250c592e42;p=wfpl.git diff --git a/metaform/template.sql b/metaform/template.sql index eee20b3..85686f8 100644 --- a/metaform/template.sql +++ b/metaform/template.sql @@ -1,5 +1,5 @@ -drop table if exists ~form_name~; -create table ~form_name~ ( +drop table if exists ~table_name~; +create table ~table_name~ ( id int unique auto_increment, ~name~ ~type~ not null default ~default~ );