rukaLukas / modelGenerator

Perform creation of PHP model classes from an mysql schema provided
Other
3 stars 0 forks source link

ModelGenerator fails with schema from SQLyog #1

Open rgfischerjr opened 7 years ago

rgfischerjr commented 7 years ago

When running the modelGenerator using the sample schema included with the distribution, it performs correctly.

When running against a schema generated by SQLyog, it fails... I cannot find any differences in the schema that would account for this, and when testing the regex on regex101.com it correctly parses the table dump.

The schema generated by SQLyog is attached (renamed .txt instead of .sql)

schema.txt

rgfischerjr commented 7 years ago

Follow up - also fails with table dump from PHPmyAdmin.

schema.txt