Challenge: Create and Use New Model Associations

❮❮ ❮ Back
Next ❯ ❯❯

Task

Steps

Reset and reseed the database:

Create “arrival” association:

Seed database with association links:

Create a new Flight and link it to departure and arrival airports:

Delete a parent Airport object along with all its child Flight objects:

How to Submit

Further Reading


❮❮ ❮ Back
Next ❯ ❯❯