Done ticket GEPAFINBE-92
This commit is contained in:
@@ -1720,7 +1720,7 @@
|
||||
<sqlFile dbms="postgresql"
|
||||
path="db/dump/update_system_email_template_for_notification_mail_05_11_2024_4.sql"/>
|
||||
</changeSet>
|
||||
<changeSet id="12-11-2024_1" author="Nisha Kashyap">
|
||||
<changeSet id="15-11-2024_1" author="Nisha Kashyap">
|
||||
<createTable tableName="email_log">
|
||||
<column autoIncrement="true" name="id" type="INTEGER">
|
||||
<constraints nullable="false" primaryKey="true"
|
||||
@@ -1733,7 +1733,6 @@
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="recipient_id" type="INTEGER">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="email_subject" type="TEXT"/>
|
||||
<column name="email_body" type="TEXT"/>
|
||||
@@ -1741,32 +1740,24 @@
|
||||
<column name="send_date_time" type="TIMESTAMP WITHOUT TIME ZONE"/>
|
||||
<column name="created_date" type="TIMESTAMP WITHOUT TIME ZONE" defaultValueComputed="CURRENT_TIMESTAMP"/>
|
||||
<column name="updated_date" type="TIMESTAMP WITHOUT TIME ZONE"/>
|
||||
<column name="email_service_response" type="TEXT"></column>
|
||||
<column name="email_service_type" type="VARCHAR(255)"></column>
|
||||
<column name="recipient_emails" type="TEXT"></column>
|
||||
<column name="user_id" type="INTEGER"></column>
|
||||
<column name="error_message" type="TEXT"/>
|
||||
<column name="entity_id" type="INTEGER"></column>
|
||||
<column name="entity_type" type="VARCHAR(255)"></column>
|
||||
</createTable>
|
||||
<createTable tableName="email_tracking">
|
||||
<column autoIncrement="true" name="id" type="INTEGER">
|
||||
<constraints nullable="false" primaryKey="true" primaryKeyName="pk_email_template_mapping"/>
|
||||
</column>
|
||||
<!-- Foreign key to email_logs table -->
|
||||
<column name="email_log_id" type="INTEGER">
|
||||
<constraints nullable="false" foreignKeyName="fk_email_log_id" references="email_log(id)"/>
|
||||
</column>
|
||||
<column name="user_id" type="INTEGER">
|
||||
<constraints nullable="false" foreignKeyName="fk_user_id" references="gepafin_user(id)"/>
|
||||
</column>
|
||||
<!-- The ID of the associated entity -->
|
||||
<column name="entity_id" type="INTEGER">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<!-- The type of the associated entity (e.g., USER, APPLICATION) -->
|
||||
<column name="entity_type" type="VARCHAR(255)">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="created_date" type="TIMESTAMP WITHOUT TIME ZONE" defaultValueComputed="CURRENT_TIMESTAMP"/>
|
||||
<column name="updated_date" type="TIMESTAMP WITHOUT TIME ZONE"/>
|
||||
</createTable>
|
||||
</changeSet>
|
||||
<changeSet id="15-11-2024_2" author="Nisha kashyap">
|
||||
<addColumn tableName="system_email_template">
|
||||
<column name="email_scenario" type="VARCHAR(255)"></column>
|
||||
</addColumn>
|
||||
<sqlFile dbms="postgresql"
|
||||
path="db/dump/updated_system_email_template_for_email_scenario_15-11-2024.sql"/>
|
||||
<sqlFile dbms="postgresql"
|
||||
path="db/dump/updated_hub_data_for_email_service_config_15-11-2024.sql"/>
|
||||
</changeSet>
|
||||
|
||||
|
||||
|
||||
</databaseChangeLog>
|
||||
|
||||
Reference in New Issue
Block a user