Preview feature feedback: `migrate diff` & `db execute`
See original GitHub issuePlease share your feedback about the new Preview migrate diff
& db execute
commands released in v3.9.0 in this issue.
- If you encounter a bug, please open a bug report in this repo.
- If the feature is working well for you, please share this in a comment below or leave a 👍 on this issue.
If you have any questions, don’t hesitate to ask them in the #product-feedback channel in the Prisma Slack.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:17 (5 by maintainers)
Top Results From Across the Web
Prisma Migrate Preview - Database Migrations Simplified
2. Run prisma migrate dev --preview-feature to create and execute the migration. ALTER TABLE "Post" ADD FOREIGN KEY("authorId")REFERENCES "User ...
Read more >Prisma on Twitter: " Here's an example of how you would use ...
Send us your feedback! The new Prisma Migrate commands (`migrate diff` and `db execute`) are currently in Preview. We're looking forward ...
Read more >Azure Database Migration Service supported scenarios
Learn which migration scenarios are currently supported for Azure Database Migration Service and their availability status.
Read more >New features in Android Studio Preview
You can also import test results into Android Studio for further analysis by clicking Run > Test History in the IDE. New Android...
Read more >AWS DMS data validation - AWS Database Migration Service
You can create validation only tasks to preview and validate data without performing any migration or data replication. To create a validation only...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I guess this potentially closes #9707 😺
@Jolg42 What I’m trying to do is to create database views in a seed command since Prisma doesn’t support views at the moment (see #678).
I previously used
prisma.$executeRaw
which required me to have all the queries inside a TS file. With this newdb execute
command, I can have the views defined in separate SQL files which is much better.The only thing that could be improved is an ability to execute all of them in a single command. I guess it would even be faster because of the overhead around connecting to a database, etc.