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

multiple sql statements in one migration #30

Closed
blacktemplar opened this issue Apr 5, 2018 · 2 comments
Closed

multiple sql statements in one migration #30

blacktemplar opened this issue Apr 5, 2018 · 2 comments

Comments

@blacktemplar
Copy link

blacktemplar commented Apr 5, 2018

I cannot have multiple mysql statements in one migration. The weird thing is it doesn't give an error or something, but it silently only executes the first statement. Am I doing something wrong or is this a bug?

@blacktemplar
Copy link
Author

Never mind, I had an error in my second mysql statement and mysql doesn't return an error if at least one statement executes successfully :(.

@Keats
Copy link
Owner

Keats commented Apr 6, 2018

mysql doesn't return an error if at least one statement executes successfully

That's ...surprising. Good you figured it out though!

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

No branches or pull requests

2 participants