Expresso project - CREATE TABLE commands in migration.js file

In the Expresso project:

https://www.codecademy.com/programs/e5ae7f48aa7b38f4aa272cd987fa1a80/items/82371596cbb8bc9d3f37fb426899f9cd

If the link above doesn’t work, here’s a link to my repository: https://github.com/rhoffen/expresso. The README has the same info.

How does the app ‘know’ to use the migration.js file and execute the CREATE TABLE commands? That file is never included or imported into any other file in the project.

Your link takes me to my dashboard xD

Yeah, it’s because that was a project I did for an “intensive” so it may not be available for everyone to see. Thanks for checking, though.

@lael.j.h I realized that my git repository has the same info in the README if you’re still willing to take a look: https://github.com/rhoffen/expresso