Serverpod Relations & Migrations Visual Setup | Dartform

Опубликовано: 13 Май 2026
на канале: Mobterest Studio
24
3

Set up Serverpod model relations and database migrations visually. In this episode we connect all the NeighbourHub models with relations, add database indexes, run our migration, and verify the tables exist in Postgres using Dartform's built-in Data Browser and SQL Editor.

What's covered:
→ Relations in Serverpod → how they work
→ Setting foreign keys and onDelete behaviour
→ Adding indexes to relation fields (and why it matters)
→ Running Create & Apply Migration from Dartform
→ The ER diagram showing connected models with relation lines
→ Browsing Postgres tables in the Data Browser
→ Running SQL queries with the built-in SQL Editor

▶ GET DARTFORM
https://dartform.dev/download

▶ DARTFORM DOCS
https://dartform.dev/docs

▶ MOBTEREST STUDIO
Building tools for the Dart & Flutter ecosystem.

#Serverpod #ServerpodMigrations #ServerpodRelations #Dartform #FlutterBackend