Skip to content

FINERACT-2780: Remove obsolete MIX tables from static database SQL dumps - #6320

Open
DhroovSankla wants to merge 2 commits into
apache:developfrom
DhroovSankla:FINERACT-2780-remove-obsolete-mix-sql
Open

FINERACT-2780: Remove obsolete MIX tables from static database SQL dumps#6320
DhroovSankla wants to merge 2 commits into
apache:developfrom
DhroovSankla:FINERACT-2780-remove-obsolete-mix-sql

Conversation

@DhroovSankla

Copy link
Copy Markdown
Contributor

Description

This Pull Request resolves FINERACT-2780 by cleaning up leftover references to the deleted MIX tables (mix_taxonomy, mix_taxonomy_mapping, and mix_xbrl_namespace) from the static SQL initialization dumps:

  1. fineract-provider/src/main/resources/sql/migrations/sample_data/barebones_db.sql
  2. fineract-provider/src/main/resources/sql/migrations/sample_data/load_sample_data.sql

All references to create, drop, and insert into these tables have been removed. Constraints and keys for the unrelated m_product_mix table have been preserved as they belong to the active Product Mix feature.

Impact

  • Cleans up database schema dumps to be in sync with the codebase after the MIX XBRL reporting module was removed in FINERACT-2745.
  • Prevents orphan/obsolete tables from being created when spinning up a fresh database using the static SQL dumps.

Verifications

  • Spotless formatting applied: ./gradlew spotlessApply
  • Verification tasks completed successfully: ./gradlew :fineract-provider:compileJava :fineract-provider:checkstyleMain

Signed-off-by: Dhroov Sankla <dhroovsankla2004@gmail.com>
@DhroovSankla

Copy link
Copy Markdown
Contributor Author

@adamsaghy
Looking forward for your review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant