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

Get hands-on with 1200+ tech skills courses.