You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I would like to propose a feature enhancement to support a more flexible and organized migration directory structure in Sequelize, along with improvements in the configuration setup. The current options of using config.js, .sequelizerc, and config.json provide a basic setup but lack the ability to handle complex directory structures and additional migration sources.
Feature Requests:
Nested migration folders: Enable the ability to organize migrations within multiple nested folders based on microservices, releases, or other criteria. This would improve modularity and organization in projects with a large number of migrations.
Additional migration sources: Allow the specification of multiple migration sources outside the default migrations folder. This would provide flexibility to manage migrations across different directories, enabling better separation of concerns for microservices or modules.
Clear documentation and examples: Enhance the documentation with clear examples and use cases to guide users in setting up and utilizing the advanced migration directory structure and configuration options effectively.
Expected Benefits:
Improved organization and scalability for projects with multiple microservices or complex directory structures.
Better separation of concerns and modularity in managing migrations.
Flexibility in using multiple migration sources, and accommodating diverse project requirements.
Greater customization and control over configuration options.
Improved developer experience and easier maintenance of migrations.
I believe these enhancements would greatly benefit developers working with Sequelize and enhance the overall migration management experience.
The text was updated successfully, but these errors were encountered:
The first two points are planned for the CLI/sequelize-auto rewrite. I'll leave this issue open so we do not forget about it when we work on more of a roadmap for the rewrite
Migrations are run in a deterministic order based on the name of the file. If we support nested folders or multiple sources of migration files, then that order becomes difficult to understand and easy to break.
Description:
I would like to propose a feature enhancement to support a more flexible and organized migration directory structure in Sequelize, along with improvements in the configuration setup. The current options of using
config.js
,.sequelizerc
, andconfig.json
provide a basic setup but lack the ability to handle complex directory structures and additional migration sources.Feature Requests:
Sample Directory Structure:
Additional migration sources: Allow the specification of multiple migration sources outside the default migrations folder. This would provide flexibility to manage migrations across different directories, enabling better separation of concerns for microservices or modules.
Clear documentation and examples: Enhance the documentation with clear examples and use cases to guide users in setting up and utilizing the advanced migration directory structure and configuration options effectively.
Expected Benefits:
I believe these enhancements would greatly benefit developers working with Sequelize and enhance the overall migration management experience.
The text was updated successfully, but these errors were encountered: