-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat: MySql support #3427
feat: MySql support #3427
Conversation
469c8ab
to
2517aec
Compare
internal/modulecontext/database.go
Outdated
) | ||
|
||
func DBTypeFromString(dt string) DBType { | ||
switch dt { |
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.
Maybe this should be a case insensitive match? FromString()
should be able to round-trip from .String()
internal/modulecontext/database.go
Outdated
func (x DBType) String() string { | ||
switch x { | ||
case DBTypePostgres: | ||
return "Postgres" | ||
case DBTypeMySQL: | ||
return "MySQL" |
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 let's make these lowercase, as that seems to be what they are everywhere else.
357a2a8
to
d4134a6
Compare
e2be61a
to
b22b40a
Compare
0f4d4c9
to
bbac4c8
Compare
bbac4c8
to
a273e4a
Compare
This adds local provisioning via docker and wires up some of the MySQL support.
Still slightly WIP as I have run out of time to fully test it, but it works with Java apps.