Skip to content

Add option to rdbic.pl to control which db schemas are scanned #152

@timbunce

Description

@timbunce

We've a large database with many tables and a number of schema. One of the schemas causes a problem for rdbic.pl:

Unable to load schema - chosen moniker/class naming style results in moniker clashes. Change the naming style, or supply an explicit moniker_map: tried disambiguating by moniker_parts, but tables "old_mls_boards"."mls_listings_features", "old_mls_boards"."_mls_listings_features" still reduced to the same source moniker 'OldMlsBoardsMlsListingsFeature'; tried disambiguating by moniker_parts, but tables "old_mls_boards"."_mls_listings_log_status", "old_mls_boards"."mls_listings_log_status" still reduced to the same source moniker 'OldMlsBoardsMlsListingsLogStatus'; tried disambiguating by moniker_parts, but tables "old_mls_boards"."_mls_listings_log_price", "old_mls_boards"."mls_listings_log_price" still reduced to the same source moniker 'OldMlsBoardsMlsListingsLogPrice'; tried disambiguating by moniker_parts, but tables "old_mls_boards"."_mls_subdivisions", "old_mls_boards"."mls_subdivisions" still reduced to the same source moniker 'OldMlsBoardsMlsSubdivision'; tried disambiguating by moniker_parts, but tables "old_mls_boards"."_mls_offices", "old_mls_boards"."mls_offices" still reduced to the same source moniker 'OldMlsBoardsMlsOffice'; tried disambiguating by moniker_parts, but tables "old_mls_boards"."mls_agents", "old_mls_boards"."_mls_agents" still reduced to the same source moniker 'OldMlsBoardsMlsAgent'; tried disambiguating by moniker_parts, but tables "old_mls_boards"."mls_listings", "old_mls_boards"."_mls_listings" still reduced to the same source moniker 'OldMlsBoardsMlsListing'; tried disambiguating by moniker_parts, but tables "old_mls_boards"."mls_listings_images", "old_mls_boards"."_mls_listings_images" still reduced to the same source moniker 'OldMlsBoardsMlsListingsImage'

Some way to tell rdbic.pl which schema to include and/or exclude would be handy.
In this case I could exclude that one schema.
I can imagine that some people would want to explicitly include certain schema.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions