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 using ANSI_QUOTES it's impossible to execute a migration that has comments on columns, because they are wrapped with double quotes, not with single quotes.
I made local changes on Illuminate\Database\Schema\Grammars\MySqlGrammar just to test my hipotesis, my tests with single quotes in comments worked with and without ANSI_QUOTES, so comments can be wrapped with single quotes.
When using ANSI_QUOTES it's impossible to execute a migration that has comments on columns, because they are wrapped with double quotes, not with single quotes.
I made local changes on
Illuminate\Database\Schema\Grammars\MySqlGrammar
just to test my hipotesis, my tests with single quotes in comments worked with and without ANSI_QUOTES, so comments can be wrapped with single quotes.The code from
MySqlGrammar.php
:Became:
I'll make a pull request soon if confirmed.
The text was updated successfully, but these errors were encountered: