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