id
, created_at
, and updated_at
columns which will be automatically managed by the database.Integer
as the datatype.id
), and then drop it on the foreign key column (e.g. Movie's director_id
).roles
, and then for each role we want to go to its actor
.roles
).actor
).actors
, but you can customize it if you want (e.g. cast
).movies
and cast
.