menu

Prisma

πŸ”΄ The Prisma Spectrum community is not officially managed by Prisma's support team any more. Please seek help on GitHub or on Slack instead. Learn more: https://spectrum.chat/prisma/general/where-and-how-to-best-seek-help-with-questions-problems~687a1b8f-8658-4df3-8849-ea5ab3503f28

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Beta
view-forward
# Community
view-forward
# GraphQL
view-forward
# OSS
view-forward
# Random
view-forward
Team

πŸš€ Releasing Prisma v1.31

April 17, 2019 at 3:20pm

πŸš€ Releasing Prisma v1.31

April 17, 2019 at 3:20pm
Hey everyone, we've just released Prisma v1.31 πŸš€
This release features an improved datamodel syntax (breaking change) that gives developers more control over the database layout created by Prisma. Here are a few things that are now possible with the new datamodel:
  • Specify whether a relation should use a relation table or foreign keys
  • Model and field names can differ from the names of the underlying tables and columns
  • Use any field as id field and "bring your own ID"
  • Use any field as createdAt or updatedAt fields
You can read everything about the new features in the announcement blog post.
Learn how to upgrade your existing projects in the docs or by following this tutorial video.
By the way, we have also improved our introspection worfklows a lot! This makes it even easier for developers to get started with Prisma using a legacy database. Oh, and we've finally enabled introspection for MySQL databases as well 😼
Show previous messages

June 6, 2019 at 7:01am
erwrjiwrj
  • reply
  • like

June 8, 2019 at 9:14pm
hi, im new user and i want to try prisma but i see a new version of prisma become 19 jun, i want to know if this prima will be compatible with prisma 2 (upgrate etc..) or if i need wait prisma 2 thanks
  • reply
  • like