Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.2.0-BETA3
-
Fix Version/s: 1.2.0
-
Component/s: Import/Export
-
Labels:None
Description
Sorry - I'll start again.
So this is the scenario. generate-models-db or generate-yaml-db will not work for attachment: pascal-case-tables.sql but it does work with attachment: lowercase-underscore-tables.sql
The reason that this does not work is due to the builder incorrectly changing the case when you run generate-xxx-db on a database that has been generated with pascal case names (pascal-case-tables.sql).
This could be the reason the exception "Missing Class Name" is thrown when creating relationships due to the class that is physically generated according to the table name (for example BookingStatus). does not match the class name being searched for when creating relationships.
Create databases and run generate-models-db.
changed booking to user - lack of sleep and too much caffeine makes for incoherent reports.