Database Schema to Migration

In this lesson, we'll walk through a real-world example of a database schema and how to create migrations. We'll define each table's columns, primary keys, and foreign keys.

Published
Dec 29, 22
Duration
11m 56s

Developer, dog lover, and burrito eater. Currently teaching AdonisJS, a fully featured NodeJS framework, and running Adocasts where I post new lessons weekly. Professionally, I work with JavaScript, .Net C#, and SQL Server.

Adocasts

Burlington, KY

🕑 Chapters:

00:00 - Database Schema Overview
00:30 - Creating Migration Files
02:50 - Profiles Migration
04:06 - States Migration
04:20 - Posts Migration
06:36 - Topics Migration
07:34 - PostTopics Migration
08:28 - Foreign Key Explanation
09:30 - Populating State Rows
11:11 - Running Migrations 11:31 - Outro

Join The Discussion! (0 Comments)

Please sign in or sign up for free to join in on the dicussion.

robot comment bubble

Be the first to Comment!

Playing Next Lesson In
seconds