This lesson is part of Plus

Update the Database Schema for Documents and Chunks

Lesson 12 of 30 · 14 min · RAG for Real-World AI Applications

Plus

Get all access

  • All 30 lessons here, and every other course
  • Roles with course and role certificates
  • The Toolkit with agent skills, MCPs and apps
  • New courses as they ship, at no extra cost

$299/year

Unlock now

Checkout, then straight back to this lesson.

30-day full refundCancel anytime

Update the Database Schema for Documents and Chunks

In this lesson, let’s plan out the database schema with an AI agent. Using Drizzle, we can plan out the schema directly in our code and run migrations to keep the real database schema synced with the schema defined in our codebase.

The full notes, transcript and prompts open with Plus.

$299/year

Unlock now

Keyboard shortcuts

SpaceK
Play or pause
JL
Back or forward 10 seconds
T
Transcript beside the video
O
Outline
F
Fullscreen
ShiftN
Next lesson
?
This list

Shortcuts work while the video area has focus (click beside the video or tab to it), so they never clash with screen reader or speech input keys.

Single-key shortcuts