Propel2
Propel2 copied to clipboard
Propel not creating valid SQL out of schema.xml with certain default values
Propel seems to be unable to create valid migration scripts under some circumstances. For example when ; is used in the default value:
<column name="valet_arr" phpName="ValetArr" type="VARCHAR" size="50" required="true" defaultValue="home;standard;partner"/>
This generates the following SQL:
standard; partner\' NOT NULL;
Do you have a fix for this? We plan to do a release soon, so if you have a PR here, that would be very welcome and could still fit into that release.
Unfortunately i haven't found a solution yet. Maybe i have time by the weekend to look deeper into this.