Closed lianogueira closed 1 year ago
Issue: We noticed an issue with duplicates in the link/eff_sattelite tables when the incorrect prefix is given to the table names.
Solution: Add a validation that will fail the process when:
satellite_name
TABLE_PREFIXES[TableType.SATELLITE]
parent_table_name
TABLE_PREFIXES[TableType.LINK]
Implementation: Add a validation method in the instantiation of a driving key.
Should we add a test?
@mcasara @dlouseiro @matthieucan I added a couple of tests. Let me know if this is what you had in mind.
Issue: We noticed an issue with duplicates in the link/eff_sattelite tables when the incorrect prefix is given to the table names.
Solution: Add a validation that will fail the process when:
satellite_name
is not withinTABLE_PREFIXES[TableType.SATELLITE]
.parent_table_name
is not withinTABLE_PREFIXES[TableType.LINK]
.Implementation: Add a validation method in the instantiation of a driving key.