a_sasin
CDCloudflare Developers
•Created by Max (@rozenmd) on 3/22/2024 in #d1-database
D1 local seed data
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.1 replies
CDCloudflare Developers
•Created by jipema on 8/19/2023 in #pages-help
D1 migrations apply in Pages deployment?
Did you ever make progress on this? Applying D1 migrations during a Pages deployment is high on my list currently.
2 replies