I'm editing an app that uses NodeJS and MySQL.
I would like to make a reference from a table (album) to another (photo). (A album will have photos...)
When using Nodejs + Mongo, we use
type: Schema.Types.ObjectID, ref: "Schema_name" in the model file.
But how I can do it when using Mysql?