Join Slack
Powered by
Hello, is there a way to insert initial database r...
# orm-help
z
Zestian
08/04/2021, 12:37 AM
Hello, is there a way to insert initial database rows in my database by using an array of items in js? and automate it in migrations
c
Casey Graff
08/04/2021, 1:32 AM
Prisma has docs on seeding here (
https://www.prisma.io/docs/guides/database/seed-database
). But depending on exactly what you mean by "automate it in migrations," you might be looking more for what they plan to do in this item on the Prisma roadmap (
https://www.notion.so/Prisma-Roadmap-50766227b779464ab98899accb98295f?p=14656f377f3b4531841ddc6b917863c2
).
💯 1
z
Zestian
08/04/2021, 1:46 AM
Thanks
Open in Slack
Previous
Next