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

feat: MySql support #3427

Merged
merged 2 commits into from
Nov 20, 2024
Merged

feat: MySql support #3427

merged 2 commits into from
Nov 20, 2024

Conversation

stuartwdouglas
Copy link
Collaborator

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.

@stuartwdouglas stuartwdouglas requested review from a team and alecthomas as code owners November 19, 2024 06:18
@stuartwdouglas stuartwdouglas requested review from worstell and wesbillman and removed request for a team November 19, 2024 06:18
This was referenced Nov 18, 2024
@stuartwdouglas stuartwdouglas force-pushed the stuartwdouglas/mysql branch 11 times, most recently from 469c8ab to 2517aec Compare November 20, 2024 01:52
)

func DBTypeFromString(dt string) DBType {
switch dt {
Copy link
Collaborator

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()

func (x DBType) String() string {
switch x {
case DBTypePostgres:
return "Postgres"
case DBTypeMySQL:
return "MySQL"
Copy link
Collaborator

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.

@stuartwdouglas stuartwdouglas force-pushed the stuartwdouglas/mysql branch 5 times, most recently from 357a2a8 to d4134a6 Compare November 20, 2024 03:09
@stuartwdouglas stuartwdouglas enabled auto-merge (squash) November 20, 2024 03:14
@stuartwdouglas stuartwdouglas force-pushed the stuartwdouglas/mysql branch 2 times, most recently from e2be61a to b22b40a Compare November 20, 2024 03:36
@stuartwdouglas stuartwdouglas force-pushed the stuartwdouglas/mysql branch 2 times, most recently from 0f4d4c9 to bbac4c8 Compare November 20, 2024 04:07
@stuartwdouglas stuartwdouglas merged commit 91cc5b0 into main Nov 20, 2024
92 checks passed
@stuartwdouglas stuartwdouglas deleted the stuartwdouglas/mysql branch November 20, 2024 04:39
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