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
Trim AUTO_INCREMENT values from MySQL schema dumps #319
Conversation
pkg/driver/mysql/mysql.go
Outdated
} | ||
|
||
// TrimAutoincrementValues removes AUTO_INCREMENT values from MySQL schema dumps | ||
func TrimAutoincrementValues(data []byte) []byte { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can start with a lowercase letter since it does not need to be exported?
Looks like a great start. Can you also add some tests for it? |
Thanks for the feedback, I'll look at adding tests later this evening. |
Tests added, ready for any other feedback you might have. This is my first time writing GO... so feel free to nudge me toward best practices. |
thank you! |
closes #56