Implemented crud operation for form,form-field and form-template
This commit is contained in:
@@ -395,4 +395,65 @@
|
||||
<column name="country" value="Italy"/>
|
||||
</insert>
|
||||
</changeSet>
|
||||
<changeSet id="28-08-2024_1" author="Rajesh Khore">
|
||||
<createTable tableName="form">
|
||||
<column name="id" type="INTEGER" autoIncrement="true">
|
||||
<constraints nullable="false" primaryKey="true" primaryKeyName="form_pkey"/>
|
||||
</column>
|
||||
<column name="label" type="VARCHAR(255)">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="call_id" type="INTEGER">
|
||||
<constraints nullable="false" foreignKeyName="fk_call_form" references="call(id)"/>
|
||||
</column>
|
||||
<column name="content" type="TEXT">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="order_no" type="INTEGER">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="created_date" type="TIMESTAMP WITHOUT TIME ZONE">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="updated_date" type="TIMESTAMP WITHOUT TIME ZONE">
|
||||
<constraints nullable="true"/></column>
|
||||
</createTable>
|
||||
<createTable tableName="form_template">
|
||||
<column name="id" type="INTEGER" autoIncrement="true">
|
||||
<constraints nullable="false" primaryKey="true" primaryKeyName="form_template_pkey"/>
|
||||
</column>
|
||||
<column name="label" type="VARCHAR(255)">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="content" type="TEXT">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="created_date" type="TIMESTAMP WITHOUT TIME ZONE">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="updated_date" type="TIMESTAMP WITHOUT TIME ZONE">
|
||||
<constraints nullable="true"/></column>
|
||||
</createTable>
|
||||
<createTable tableName="form_field">
|
||||
<column name="id" type="INTEGER" autoIncrement="true">
|
||||
<constraints nullable="false" primaryKey="true" primaryKeyName="form_field_pkey"/>
|
||||
</column>
|
||||
<column name="label" type="VARCHAR(255)">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="definition" type="TEXT">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="is_active" type="BOOLEAN">
|
||||
<constraints nullable="true"/>
|
||||
</column>
|
||||
<column name="created_date" type="TIMESTAMP WITHOUT TIME ZONE">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="updated_date" type="TIMESTAMP WITHOUT TIME ZONE">
|
||||
<constraints nullable="true"/></column>
|
||||
</createTable>
|
||||
</changeSet>
|
||||
|
||||
|
||||
</databaseChangeLog>
|
||||
|
||||
@@ -43,8 +43,9 @@ call.created.successfully=Call created successfully.
|
||||
file.deleted.successfully=File deleted successfully.
|
||||
document.not.found=Document not found.
|
||||
document.id.not.found=Document ID not found.
|
||||
call.created.successfully=Call created successfully.
|
||||
call.invalid.date=Invalid start or end date.
|
||||
call.not.found=Call not found.
|
||||
call.id.not.null=Call id cannot be null.
|
||||
|
||||
# Login-related messages
|
||||
login.successfully=Login successfully.
|
||||
@@ -57,7 +58,29 @@ invalid_signature=Invalid token.
|
||||
invalid_login=Invalid username or password.
|
||||
req_validation_er=Request Validation Error
|
||||
|
||||
#Form-related messages
|
||||
form.not.found=Form not found.
|
||||
form.created.successfully=Form created successfully.
|
||||
form.updated.suucessfully=Form updated successfully.
|
||||
form.deleted.successfully=Form deleted successfully.
|
||||
form.fetched.successfully=Form fetched successfully.
|
||||
required.parameter.not.found.for.form=Label, content, or orderNo cannot be null.
|
||||
form.not.found.for.call.id=Form not found for corresponding call.
|
||||
|
||||
|
||||
#Form-field-related messages
|
||||
form.field.not.found=Form field not found.
|
||||
form.field.created.successfully=Form field created successfully.
|
||||
form.field.updated.suucessfully=Form field updated successfully.
|
||||
form.field.deleted.successfully=Form field deleted successfully.
|
||||
form.field.fetched.successfully=Form field fetched successfully.
|
||||
required.parameter.not.found.for.form.field=Label or definition cannot be null.
|
||||
|
||||
|
||||
#Form-template-related messages
|
||||
form.template.not.found=Form template not found.
|
||||
form.template.created.successfully=Form template created successfully.
|
||||
form.template.updated.suucessfully=Form template updated successfully.
|
||||
form.template.deleted.successfully=Form template deleted successfully.
|
||||
form.template.fetched.successfully=Form template fetched successfully.
|
||||
required.parameter.not.found.for.form.template=Label or content cannot be null.
|
||||
@@ -44,6 +44,8 @@ file.deleted.successfully=File eliminato con successo.
|
||||
document.not.found=Documento non trovato.
|
||||
document.id.not.found=ID documento non trovato.
|
||||
call.invalid.date=Data di inizio o fine non valida.
|
||||
call.not.found=Chiamata non trovata.
|
||||
call.id.not.null=L'ID della chiamata non può essere nullo.
|
||||
|
||||
# Login-related messages
|
||||
login.successfully=Accesso effettuato con successo.
|
||||
@@ -55,3 +57,28 @@ common_message=qualcosa é andato storto. Per favore riprova
|
||||
invalid_signature=Gettone non valido.
|
||||
invalid_login=Nome utente o password errati
|
||||
req_validation_er=Errore di convalida
|
||||
|
||||
#Form-related messages
|
||||
form.not.found=Modulo non trovato.
|
||||
form.created.successfully=Modulo creato correttamente.
|
||||
form.updated.suucessfully=Modulo aggiornato correttamente.
|
||||
form.deleted.successfully=Modulo eliminato correttamente.
|
||||
form.fetched.successfully=Modulo recuperato correttamente.
|
||||
required.parameter.not.found.for.form=Etichetta, contenuto o orderNo non possono essere nulli.
|
||||
form.not.found.for.call.id=Modulo non trovato per la chiamata corrispondente.
|
||||
|
||||
#Form-field-related messages
|
||||
form.field.not.found=Campo modulo non trovato.
|
||||
form.field.created.successfully=Campo del modulo creato correttamente.
|
||||
form.field.updated.suucessfully=Campo del modulo aggiornato correttamente.
|
||||
form.field.deleted.successfully=Campo del modulo eliminato correttamente.
|
||||
form.field.fetched.successfully=Campo del modulo recuperato correttamente.
|
||||
required.parameter.not.found.for.form.field=Etichetta o definizione non possono essere nulli.
|
||||
|
||||
#Form-template-related messages
|
||||
form.template.not.found=Modello di modulo non trovato.
|
||||
form.template.created.successfully=Modello di modulo creato correttamente.
|
||||
form.template.updated.suucessfully=Modello di modulo aggiornato correttamente.
|
||||
form.template.deleted.successfully=Modello di modulo eliminato correttamente.
|
||||
form.template.fetched.successfully=Modello di modulo recuperato correttamente.
|
||||
required.parameter.not.found.for.form.template=Etichetta o contenuto non possono essere nulli.
|
||||
|
||||
Reference in New Issue
Block a user