Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Release 1.31.0 (2019-04-17)

Compare
Choose a tag to compare
@mavilein mavilein released this 17 Apr 15:13
· 1884 commits to master since this release

Breaking Changes

The new datamodel syntax introduced in this release is a breaking change. Read the announcement article or learn how to upgrade to the new datamodel version.

Features

  • This release features an improved version of the datamodel syntax. It provides more control over the database layout that Prisma creates. Some of the new features include:
    • Specify whether a relation should use a relation table or foreign keys
    • Model/field names can differ from the names of the underlying tables/columns
    • Use any field as id field and "bring your own ID"
    • Use any field as createdAt or updatedAt fields
  • Introspection for MySQL (prisma/prisma#2506)

Fixes