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

rails db:system:change should update the Dockerfile too #49304

Closed
dhh opened this issue Sep 16, 2023 · 0 comments · Fixed by #49311
Closed

rails db:system:change should update the Dockerfile too #49304

dhh opened this issue Sep 16, 2023 · 0 comments · Fixed by #49311

Comments

@dhh
Copy link
Member

dhh commented Sep 16, 2023

If you start a new Rails app with the default sqlite db adapter, you can change the config/database.yml and Gemfile declarations to mysql using rails db:system:change --to=mysql. But this doesn't update our new Dockerfile to exchange sqlite to default-mysql-client for the deployment section and adding default-libmysqlclient-dev to the build section. It should.

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

Successfully merging a pull request may close this issue.

2 participants