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

Providing IF NOT EXISTS to MySQL producer #9

Closed
wants to merge 1 commit into from

Conversation

xsawyerx
Copy link

MySQL (and SQLite, actually) support IF NOT EXISTS for table creation so it doesn't crash the DB. However, this isn't supported in SQL::Translator.

This pull request adds it to MySQL, sans tests and SQLite support.

@ribasushi
Copy link
Contributor

Please add some tests, can't merge it like that.

@ribasushi
Copy link
Contributor

Sawyer - any chance we can get some tests to go with that?

@xsawyerx
Copy link
Author

I'll sit on it tonight.
(sorry, didn't get any notification for the reminder)

@xsawyerx
Copy link
Author

I'll submit a new PR updated with the current structure (Moo'ified, etc.) and tests.

@frioux
Copy link
Member

frioux commented Nov 2, 2013

aight, closing this for now then

@frioux frioux closed this Nov 2, 2013
@xsawyerx
Copy link
Author

xsawyerx commented Jul 4, 2014

Let's admit it. I won't get to it anytime soon. This is just sitting as a tab.

I personally had no need for it. Someone else did. If the issue is ever raised again, it's worth revisiting. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants