Commit 45969cfe authored by Carsten  Rose's avatar Carsten Rose
Browse files

formEditor.sql: small rearrange of code

parent f5f3f9af
...@@ -46,13 +46,6 @@ current_timestamp() ...@@ -46,13 +46,6 @@ current_timestamp()
// //
DELIMITER ; DELIMITER ;
#
# FormEditor
INSERT INTO Form (name, title, noteInternal, tableName, permitNew, permitEdit, multiSql) VALUES
('form', 'Form Editor: {{SELECT id, " / ", title FROM Form WHERE id = {{recordId:SZ}}}}', 'Please secure the form',
'Form', 'always', 'always', '');
# ---------------------------------------- # ----------------------------------------
# FormElement # FormElement
...@@ -118,6 +111,13 @@ current_timestamp() ...@@ -118,6 +111,13 @@ current_timestamp()
// //
DELIMITER ; DELIMITER ;
#
# FormEditor
INSERT INTO Form (name, title, noteInternal, tableName, permitNew, permitEdit, render, multiSql) VALUES
('form', 'Form Editor: {{SELECT id, " / ", title FROM Form WHERE id = {{recordId:SZ}}}}', 'Please secure the form',
'Form', 'always', 'always', 'table', '');
# FormEditor: FormElements # FormEditor: FormElements
INSERT INTO FormElement (formId, name, label, mode, type, ord, size, maxLength, note, clientJs, value, sql1, sql2, parameter) INSERT INTO FormElement (formId, name, label, mode, type, ord, size, maxLength, note, clientJs, value, sql1, sql2, parameter)
VALUES VALUES
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment