Expresso project - CREATE TABLE commands in migration.js file

In the Expresso project:

If the link above doesn’t work, here’s a link to my repository: 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:

It’s probably too late to answer your question, but for anyone else who might be wondering, it’s because we run node migration.js in the terminal, therefore executing the CREATE TABLE commands