Course lesson

Add Seed Data to Local Database with Supabase

When npx supabase init, npx supabase start, or npx supabase db reset is run, supabase will look for our seed.sql file and seed our local database.

Duration
1 min
Access
Free
Transcript
Retained from source evidence

When npx supabase init, npx supabase start, or npx supabase db reset is run, supabase will look for our seed.sql file and seed our local database.

Since we have already created the project and we want to add seed data, we can run npx supabase db reset.