I have been trying to create schema.yml content in memory from a behavior I have written. I want to test if any changes made by a developer to schema.yml comply with the current database fields and foreign key references. I see the task class that builds schema, but havenot been able to find straightforward way to do that or am I missing something here? Can this be done by leveraging the symfony api already available rather than writing my own solution?
Thanks in advance.
P.S. I am using Propel as ORM