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
The backslashes get unescaped twice before entering the database.
For example, if I have INSERT INTOtableNameVALUES('\\\\my\\\\namespace');
then it will enter db_version.sql_up or sql_down as INSERT INTOtableNameVALUES('\my\namespace');
This is especially problematic if backslashes appear in sql_down, as running with --force-files will cause different queries to be executed even when there are no changes to the migration file.
The text was updated successfully, but these errors were encountered:
The backslashes get unescaped twice before entering the database.
For example, if I have
INSERT INTO
tableNameVALUES('\\\\my\\\\namespace');
then it will enter db_version.sql_up or sql_down as
INSERT INTO
tableNameVALUES('\my\namespace');
This is especially problematic if backslashes appear in sql_down, as running with
--force-files
will cause different queries to be executed even when there are no changes to the migration file.The text was updated successfully, but these errors were encountered: