Solution: Create Migrations

Go over the solution to the "Creating Migrations" problem.

We'll cover the following...

Solution

We are going to create the releases table that has the following columns:

  • title (string)
  • release_date (date)
  • album_id (which should be a foreign key that refers to the albums table
  • inserted_at
  • updated_at
Access this course and 1400+ top-rated courses and projects.