Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, migration files can be executed in knex upon making an API request. Depending on the configuration of the API and the database, the migration files can be automatically executed when the API starts up, or they can be manually triggered upon making an API request. This allows for seamless database migrations as the application evolves and new features are added.