nikolasburk
prisma db push is now Generally Available
prisma db push enables you to update the database schema from the Prisma schema file, without generating any migrations.
This is especially useful when prototyping a new feature, iterating on the schema changes before creating migrations or generally if you are at stage of your development process, where you don't need to persist the schema change history via database migrations. It is now promoted from Preview to General Availability.
You can find more info on prisma db push in the official docs .
๐ Deprecation of array notation for provider fields
In this release, we are also entirely removing the array notation for the provider fields on datasource blocks. This has been deprecated since 2.11.0 (November 2020).
You can read more about our reasons for this deprecation here.
๐ฆฆ Prisma Client Go gets support for AND operator
We've always had OR, but this release we also added AND support:
first, err := client.User.FindFirst(
User.Or(
User.Email.Equals("<mailto:john@example.com|john@example.com>"),
User.And(
User.Name.Equals("John"),
User.Username.Equals("johno"),
),
),
).Exec(ctx)
Learn more in our docs and share your feedback in the #prisma-client-go channel.
๐ Learn more in the release notes
For more info and links to documentation, you can read the release notes.
๐ Help us spread the word about Prisma ๐
To help spread the word about Prisma, we'd very much appreciate if you would star the repo ๐ And if you're excited about the features in this week's release, then help us and share your excitement on Twitter.
๐ฐย Join us on Thursday for the "What's new in Prisma" livestream
This week, my colleague @Daniel Norman and I will discuss the latest release and other news from the Prisma ecosystem in aย ย onย Thursday at 5pm Berlin | 8am San Francisco. Would love to see you there ๐