You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dump the data with app/console propel:fixtures:dump
It fails with the following error.
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match' at line 1
This is caused because match is some reserved word by mysql.
How to reproduce
Create a table called match.
Dump the data with app/console propel:fixtures:dump
It fails with the following error.
This is caused because match is some reserved word by mysql.
Proposed fix:
Please note, the second one fixes it. But I think it is a good idea to do the same for the column names ;-).
Should I forked it and fix it and adding a unit test for it?
The text was updated successfully, but these errors were encountered: