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
When running an initial migration to execute a series of CREATE TABLE statements for MySQL, I noticed that I was missing a semicolon. The migration reported as a success even though the .sql migration file had a syntax error. It just created a couple of the tables in the file and ignored the rest.
When I pipe the .sql file directly into mysql it reports the syntax error as expected. Is this intended behavior? Am I organizing my migration files wrong?
The text was updated successfully, but these errors were encountered:
Upon some further inspection, it seems this is only a problem with the mysql driver. It reports the syntax error correctly and fails the migration when I use mysql_async.
When running an initial migration to execute a series of
CREATE TABLE
statements for MySQL, I noticed that I was missing a semicolon. The migration reported as a success even though the.sql
migration file had a syntax error. It just created a couple of the tables in the file and ignored the rest.When I pipe the
.sql
file directly intomysql
it reports the syntax error as expected. Is this intended behavior? Am I organizing my migration files wrong?The text was updated successfully, but these errors were encountered: