D1 local seed data

I'm not sure I understand what you're trying to do here, no queries/migrations will be run against your remote DB unless you explicitly add the --remote flag
1 Reply
a_sasin
a_sasin10mo ago
I'm looking for a way to have a bunch of randomized data (e.g., Lorem ipsum ...) that are inserted to the local db when it's created and migrated with wrangler pages dev ... but I don't want to have this migration/script execute against the remote production db at any point. Creating and checking in a migration for the seed data would mean it would be applied to prod when that db gets migrated.
Want results from more Discord servers?
Add your server