Unread Notifications

Latest Notifications

No Notifications

You're all set! Start a discussion by leaving a comment on a lesson or replying to an existing comment.

Let's Learn AdonisJS 5

Database Schema to Migration

11:56 Watch
0:15 Read

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.

Watch on YouTube
GitHub
View Repository

🕑 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


📜 Transcript:

Coming soon

Comment

Prepared By

Tom Gobich

Burlington, KY

Owner of Adocasts, JavaScript developer, educator, PlayStation gamer, burrito eater.

Visit Website