Details
Description
When creating a table manually in Beeswax, only the first defined column is preserved when building the query, so the CREATE TABLE statements will never contain more than one column. It's also impossible to delete the first column.
The reason for this is that the form uses a template to build columns as they're added, but fails to correctly replace the TEMPLATE string in the names of the input fields. It replaces only the first instance, so adding additional columns will yield entries in the form's POST named things like column-1-name, column-TEMPLATE-type, etc. The issue with the deletion goes away for most of the columns, if you fix this first problem. The first column can't be deleted because the column counter used internally isn't initialized until a column is added, so you get a POST field called column-null-_deleted, instead of column-0-_deleted.