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

Add MySQL support for db commands #226

Merged
merged 8 commits into from
Aug 25, 2024
Merged

Add MySQL support for db commands #226

merged 8 commits into from
Aug 25, 2024

Conversation

timriley
Copy link
Member

@timriley timriley commented Aug 20, 2024

Make Hanami::CLI::Commands::App::DB::Utils::Mysql a working implementation, so that MySQL databases can be used for the db create, db drop, db structure dump and db structure load commands.

In new apps generated with the --database mysql option, generate mysql2:// database URLs, since this is the URL scheme required to connect using the mysql2 gem with Sequel (which underpins rom-sql).

Add a working MySQL database and support code for testing.

Resolves #157

@timriley timriley marked this pull request as ready for review August 25, 2024 05:51
@timriley timriley self-assigned this Aug 25, 2024
@timriley timriley merged commit 9990e70 into main Aug 25, 2024
6 checks passed
@timriley timriley deleted the mysql-support branch August 25, 2024 05:52
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.

Add MySQL support for db commands
1 participant