Closed slugb0t closed 2 months ago
Thank you for submitting this pull request! We appreciate your contribution to the project. Before we can merge it, we need to review the changes you've made to ensure they align with our code standards and meet the requirements of the project. We'll get back to you as soon as we can with feedback. Thanks again!
This pull request implements a significant change in the database technology used in the project, transitioning from MongoDB to Prisma ORM with a PostgreSQL backend. The changes involve updating database queries, data models, and connection handling across multiple files in the bot directory.
Change | Details | Files |
---|---|---|
Transition from MongoDB to Prisma ORM with PostgreSQL |
|
bot/db.js bot/index.js bot/metadata/index.js bot/utils/tools/index.js bot/utils/renderer/index.js bot/cwl/index.js bot/license/index.js bot/scripts/prismaM.ts bot/transfer-postgres.js |
Update data model field names and types |
|
bot/index.js bot/metadata/index.js bot/utils/tools/index.js bot/utils/renderer/index.js bot/cwl/index.js bot/license/index.js |
Implement data migration strategy |
|
bot/scripts/prismaM.ts bot/transfer-postgres.js |
Thanks for closing this pull request! If you have any further questions, please feel free to open a new issue. We are always happy to help!
Thanks for making updates to your pull request. Our team will take a look and provide feedback as soon as possible. Please wait for any GitHub Actions to complete before editing your pull request. If you have any additional questions or concerns, feel free to let us know. Thank you for your contributions!
Summary by Sourcery
Migrate the database layer from MongoDB to Prisma, including updating all database operations to use Prisma's API. Add a script to facilitate data transfer from MongoDB to a PostgreSQL database.
New Features:
Enhancements:
Chores: