fix(deps): add missing mysql2 package for MySQL database support#1152
Open
eduardomozart wants to merge 2 commits intognmyt:mainfrom
Open
fix(deps): add missing mysql2 package for MySQL database support#1152eduardomozart wants to merge 2 commits intognmyt:mainfrom
eduardomozart wants to merge 2 commits intognmyt:mainfrom
Conversation
Added new dependencies including aws-ssl-profiles, denque, generate-function, iconv-lite, long, lru.min, mysql2, named-placeholders, sql-escaper, and updated their versions.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



📋 Description
The application natively supports MySQL as an alternative database backend via Sequelize (configured in
server/utils/database.jsusingDB_TYPE=mysql). However, the required underlying MySQL dialect driver (mysql2) was missing from thepackage.jsondependencies.If a user configures their environment to use MySQL instead of the default SQLite, the Node.js server crashes on startup with the following error thrown by Sequelize:
This PR adds
"mysql2": "^3.17.4"to the primarypackage.jsondependencies and updates theyarn.lockfile accordingly. This ensures the MySQL driver is present out-of-the-box for any environment that configuresDB_TYPE=mysql, preventing instant runtime crashes.🚀 Changes made to ...
✅ Checklist
🔗 Related Issues
Closes #1098