updated form field data

This commit is contained in:
rajesh
2024-09-04 14:44:33 +05:30
parent 3752afdfd4
commit e51c86806a
2 changed files with 119 additions and 0 deletions

View File

@@ -540,4 +540,13 @@
columnName="order_no" />
</changeSet>
<changeSet id="03-09-2024_1" author="Rajesh Khore">
<sql>
TRUNCATE TABLE FORM_FIELD RESTART IDENTITY;
</sql>
<sqlFile dbms="postgresql"
path="db/dump/update_form_field_data_04_09_2024.sql" />
</changeSet>
</databaseChangeLog>

View File

@@ -0,0 +1,110 @@
INSERT INTO FORM_FIELD (NAME, LABEL, SETTINGS, VALIDATORS, CREATED_DATE, UPDATED_DATE) VALUES
(
'textinput',
'Text Input',
'[
{"name": "label", "value": "Text input"},
{"name": "placeholder", "value": "Placeholder text"}
]',
'{
"isRequired": false,
"minLength": null,
"maxLength": null,
"pattern": null,
"custom": null
}',
'2024-08-30T09:50:31.926Z',
'2024-08-30T09:50:31.926Z'
),
(
'textarea',
'Text Area',
'[
{"name": "label", "value": "Text area"},
{"name": "placeholder", "value": "Placeholder text"}
]',
'{
"isRequired": false,
"minLength": null,
"maxLength": null,
"pattern": null,
"custom": null
}',
'2024-08-30T09:50:31.926Z',
'2024-08-30T09:50:31.926Z'
),
(
'numberinput',
'Number Input',
'[
{"name": "label", "value": "Number"},
{"name": "placeholder", "value": 0}
]',
'{
"isRequired": false,
"min": null,
"max": null,
"pattern": null,
"custom": null
}',
'2024-08-30T09:50:31.926Z',
'2024-08-30T09:50:31.926Z'
),
(
'textinput',
'P.IVA',
'[
{"name": "label", "value": "P.IVA"},
{"name": "placeholder", "value": "Insert p.iva number"}
]',
'{
"isRequired": true,
"minLength": null,
"maxLength": null,
"pattern": null,
"custom": "isValidVAT"
}',
'2024-08-30T09:50:31.926Z',
'2024-08-30T09:50:31.926Z'
),
(
'radio',
'Radio Input',
'[
{"name": "label", "value": "Radio input"},
{"name": "options", "value": []}
]',
'{
"isRequired": false,
"custom": null
}',
'2024-08-30T09:50:31.926Z',
'2024-08-30T09:50:31.926Z'
),
(
'select',
'Select',
'[
{"name": "label", "value": "Select"},
{"name": "options", "value": []}
]',
'{
"isRequired": false,
"custom": null
}',
'2024-08-30T09:50:31.926Z',
'2024-08-30T09:50:31.926Z'
),
(
'datepicker',
'Datepicker',
'[
{"name": "label", "value": "Datepicker"}
]',
'{
"isRequired": false,
"custom": null
}',
'2024-08-30T09:50:31.926Z',
'2024-08-30T09:50:31.926Z'
);