Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape apostrophe in MySQL comment (Fixes: #19779) #19798

Merged
merged 1 commit into from
Jun 28, 2017
Merged

Escape apostrophe in MySQL comment (Fixes: #19779) #19798

merged 1 commit into from
Jun 28, 2017

Conversation

Douglasdc3
Copy link
Contributor

When creating a field in MySQL based database and you add apostrophe it
creates invalid SQL statement.

Fix: call addslashes method which escapes apostrophe in the SQL
statement

When creating a field in MySQL based database and you add apostrophe it
creates invalid SQL statement.

Fix: call addslashes method which escapes apostrophe in the SQL
statement
@taylorotwell taylorotwell merged commit 4ba77d0 into laravel:5.4 Jun 28, 2017
@Douglasdc3 Douglasdc3 deleted the bugfix/19779-escape-comments-in-migration branch June 28, 2017 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants