Closed spk closed 10 months ago
@spk I simplified the code a bit and removed the mysql2
change, since it's not required and it's Ruby-specific. Also, added the implementation to Upsun as well.
If you believe we should use the mysql2
change as well, let's first discuss this in an issue.
Thanks a lot for the contribution! 🎉
why
Ruby on Rails adapter name can be different from the protocol connection resulting on error like:
Trilogy is not widely used yet https://github.blog/2022-08-25-introducing-trilogy-a-new-database-adapter-for-ruby-on-rails/
More info
how
Override DB_CONNECTION for those adapter