Prisma
@prisma.io
12 months ago Once we're satisfied with the adjustments to the migration file, we can just run a regular `migrate dev` to have it applied.
💬 1
♻️ 0
❤️ 0
Once we're satisfied with the adjustments to the migration file, we can just run a regular `migrate dev` to have it applied. The resulting migration file is created but not yet applied.
This is where we can step in and adjust the file to do whatever is needed.
For example, perhaps we want to create a new field called `fullName` which is the result of combining `firstName` and `lastName`. One of the most common workflows is to run `npx prisma migrate dev` which will:
1. Create a migration file
2. Apply the migration
To be able to intervene with the migration before it's applied, we need to pass `--create-only` Prisma Migrate *just works*.
It takes your schema, produces migration files from it, and then applies the migrations to your database.
But sometimes you might want to step in to customize the migration before it runs.
Here's a quick look at how to do that with Prisma Migrate 👀 A buggy app is one thing. A buggy database with corruption is another.
Constraints are a big help. Simple examples:
✅ UNIQUE (user_id, billing_period)
✅ CHECK (price >= 0)
✅ EXCLUDE USING gist (timespan WITH &&)
Use them to your advantage ✌️ Fun new blog post today about some git config values that should probably be the defaults.
blog.gitbutler.com/how-git-core... 35 issues, some bugs, some feature requests, closed during Quality Week! 🎉 Next week, we're back to focusing on deeper Git integration! Have a great weekend!
Prisma Postgres 🤝 Cloudflare Workers
We’ve just shipped a brand new guide that shows you how to build + deploy a full stack serverless app using Prisma + Workers in just a few minutes!
pris.ly/cf-workers-ppg AI is great but I dunno how to feel about AI marketing so I of course made a video
youtu.be/qiiZycFlIVk Why waste time running your entire test suite for just a few line changes in a PR? It’s a CI bottleneck! Our cutting-edge selective testing solution for Xcode projects slashes test times from minutes to mere seconds.
Discover how: tuist.dev/blog/2025/0... Try it out at tldraw.computer We'd been asking Gemini for keywords when it made a website. The model just locked into that task completely: it was spending its whole response on thousands of keywords
I proposed to my girlfriend in Quordle. She said yes!
stevekrouse.com/proposal Just used chat gpt to make a little Automator app that I could drop mp4s onto to speed them up /compress them for social media (diy ffmpeg wrapper) Don’t sleep on Automator
The latest issue of our newsletter has been released! Dive into discussions about branching ecosystems, catch our interview with Vera Dias, the mastermind behind "Coding with Vera," and explore some uplifting resources.
Check it out: tuist.dev/newsletter/... 3 Xcode project pitfalls that sabotage developer productivity:
- Crawling build times
- Lagging test suites
- Unreliable tests
Tuist is your solution to all three. More engineering power isn't the answer—let us show you why. Enjoy the first three months on us.
Shoot us a DM Managing Prisma ORM in a pnpm workspaces monorepo is simple!
Follow our step-by-step guide to:
📦 Generate Prisma Client properly to avoid type resolution issues
🔗 Share and reuse Prisma Client across apps
⚙️ Use the package in a Next.js app
Check out the guide 👇
pris.ly/guide/pnpm-... 🚨 New Changelog! 🚨
🔹 Prisma Postgres is production ready!
🔹 Prisma ORM 6.4.0 introduces a new config file and case-insensitive JSON filters
🔹 A brand new onboarding for Optimize
...and more!
Get all our updates in one place every 3 weeks 👇
prisma.io/changelog I am looking to chat with Software Engineers that work in physical systems (robots, drones, aircraft, etc) and can tell me more about the data problems you face. Bonus point if you use or consider using SQLite. We'd love to understand how our rewrite of SQLite can help you!
At the end of the day, it's all highly dependent on your use case though, what are you building?
Lastly, Inngest has great coverage from our local dev server which runs on your machine for fast iteration and cloud observability with metrics and traces. Your code can run on any cloud or infra and it scales to billions of executions a month.
As it's event driven, Inngest can receive events from your application or webhooks to trigger workflows and the events are utilized on recovery tooling like bulk replay if you have a bug or third party API issue that you need to recover from.
www.inngest.com/docs/platfor...