forked from FITER1/fineract-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 7999: Sync with fiter code 20122024
Related work items: #1338, #1339, #1340, #1343, #1344, #1345, #1347, #1348, #1349, #1350, #1351, #1352, #1353, #1354, #1355, #1356, #1357, #1358, #1361, #1362, #1363, #1364, #1365, #1366, #1367, #1368, #1369, #1371, #1374, #1375, #1381, #1382, #1383, #1384, #1385, #1388, #1391, #1403, #1417, #29692
- Loading branch information
1 parent
3aea0f6
commit cab103b
Showing
5 changed files
with
214 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
...resources/db/changelog/tenant/parts/202412171143000000_EA_110_delete_blocking_reasons.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you under the Apache License, Version 2.0 (the | ||
"License"); you may not use this file except in compliance | ||
with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations | ||
under the License. | ||
--> | ||
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd"> | ||
|
||
<changeSet author="fineract" id="1" > | ||
<sql> | ||
<![CDATA[ | ||
delete from m_client_block_list; | ||
delete from m_client_blocking_reason ; | ||
update m_client set blocking_reason_id = null; | ||
update m_loan set block_status_id = null; | ||
delete from m_credit_blocking_reason; | ||
delete from m_blocking_reason_setting; | ||
]]> | ||
</sql> | ||
|
||
</changeSet> | ||
</databaseChangeLog> |
37 changes: 37 additions & 0 deletions
37
...n/resources/db/changelog/tenant/parts/202412171143000001_EA_111_delete_interest_rates.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you under the Apache License, Version 2.0 (the | ||
"License"); you may not use this file except in compliance | ||
with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations | ||
under the License. | ||
--> | ||
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd"> | ||
|
||
<changeSet author="fineract" id="2" > | ||
<sql> | ||
<![CDATA[ | ||
update m_product_loan set interest_rate_id = null; | ||
update m_charge set interest_rate_id = null; | ||
delete from m_interest_rate_history ; | ||
delete from m_interest_rate ; | ||
]]> | ||
</sql> | ||
|
||
</changeSet> | ||
</databaseChangeLog> |
121 changes: 121 additions & 0 deletions
121
...ain/resources/db/changelog/tenant/parts/202412171143000002_EA_111_add_detalles_column.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you under the Apache License, Version 2.0 (the | ||
"License"); you may not use this file except in compliance | ||
with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations | ||
under the License. | ||
--> | ||
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd"> | ||
|
||
<changeSet author="fineract" id="1" > | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<tableExists tableName="Detalles de Contacto"/> | ||
</not> | ||
</preConditions> | ||
<sql> | ||
<![CDATA[ | ||
CREATE TABLE "Detalles de Contacto" ( | ||
"client_id" BIGINT NOT NULL REFERENCES m_client(id), | ||
"YesNo_cd_Requiere Visita" INTEGER, | ||
"Canal de visita_cd_Canal de visita" INTEGER, | ||
"Causal Rechazo Visita_cd_Causal Rechazo Visita" INTEGER, | ||
"Observacion Rechazo Visita" TEXT, | ||
"Usuario asignado" TEXT, | ||
"Correo Usuario Asignado" TEXT, | ||
"Fecha Inicio Contactabilidad" TEXT, | ||
"Validacion contactabilidad" TEXT, | ||
"Causal Rechazo Contactabilidad" TEXT, | ||
"Observacion Rechazo Contactabilidad" TEXT, | ||
"Observacion Contactabilidad" TEXT, | ||
"Segunda Observacion Contactabilidad" TEXT, | ||
"Tercera Observacion Contactabilidad" TEXT, | ||
"Telefono de Contactabilidad" TEXT, | ||
"Fecha Fin Contactabilidad" DATE, | ||
"created_at" TIMESTAMP, | ||
"updated_at" TIMESTAMP | ||
); | ||
]]> | ||
</sql> | ||
|
||
</changeSet> | ||
<changeSet author="fineract" id="2" > | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<tableExists tableName="Detalles_de_Contacto"/> | ||
</not> | ||
</preConditions> | ||
<sql> | ||
<![CDATA[ | ||
CREATE TABLE "Detalles_de_Contacto" ( | ||
"client_id" BIGINT NOT NULL REFERENCES m_client(id), | ||
"YesNo_cd_Requiere Visita" INTEGER, | ||
"Canal de visita_cd_Canal de visita" INTEGER, | ||
"Causal Rechazo Visita_cd_Causal Rechazo Visita" INTEGER, | ||
"Observacion Rechazo Visita" TEXT, | ||
"Usuario asignado" TEXT, | ||
"Correo Usuario Asignado" TEXT, | ||
"Fecha Inicio Contactabilidad" TEXT, | ||
"Validacion contactabilidad" TEXT, | ||
"Causal Rechazo Contactabilidad" TEXT, | ||
"Observacion Rechazo Contactabilidad" TEXT, | ||
"Observacion Contactabilidad" TEXT, | ||
"Segunda Observacion Contactabilidad" TEXT, | ||
"Tercera Observacion Contactabilidad" TEXT, | ||
"Telefono de Contactabilidad" TEXT, | ||
"Fecha Fin Contactabilidad" DATE, | ||
"created_at" TIMESTAMP, | ||
"updated_at" TIMESTAMP); | ||
]]> | ||
</sql> | ||
|
||
</changeSet> | ||
|
||
<changeSet id="3" author="fineract"> | ||
<preConditions onFail="MARK_RAN"> | ||
<sqlCheck expectedResult="0"> | ||
<![CDATA[ | ||
Select count(1) from x_registered_table where registered_table_name = 'Detalles de Contacto'; | ||
]]> | ||
</sqlCheck> | ||
</preConditions> | ||
<sql> | ||
<![CDATA[ | ||
INSERT INTO x_registered_table (registered_table_name, application_table_name, entity_subtype, category) VALUES('Detalles de Contacto', 'm_client', 'Entity', 100); | ||
]]> | ||
</sql> | ||
</changeSet> | ||
|
||
<changeSet id="4" author="fineract"> | ||
<preConditions onFail="MARK_RAN"> | ||
<sqlCheck expectedResult="0"> | ||
<![CDATA[ | ||
Select count(1) from x_registered_table where registered_table_name = 'Detalles_de_Contacto'; | ||
]]> | ||
</sqlCheck> | ||
</preConditions> | ||
<sql> | ||
<![CDATA[ | ||
INSERT INTO x_registered_table (registered_table_name, application_table_name, entity_subtype, category) VALUES('Detalles_de_Contacto', 'm_client', 'Person', 100); | ||
]]> | ||
</sql> | ||
</changeSet> | ||
|
||
</databaseChangeLog> |