supabase-community / seed

Automatically seed your database with production-like dummy data based on your schema for local development and testing.
MIT License
468 stars 17 forks source link

improvements: derive the dialect from the adapter #146

Closed jgoux closed 6 months ago

jgoux commented 6 months ago

We will now have a single source of truth to get the dialect, which is the adapter. For Prisma we read it from the prisma.schema file, for all the others it's a simple string returned from adapter.getDialect().

Note: it's important that we have migration step in the changelog because we will now expect to find a "adapter": "" key in .snaplet/config.json