Skip to content

Releases: kgajera/platformatic-prisma

v1.2.0

26 Jan 00:39
Compare
Choose a tag to compare

Fixes broken @platformatic/service import to support the latest version of Platformatic, 1.19.0.

v1.1.1

26 Jun 01:56
Compare
Choose a tag to compare

Fixes broken @platformatic/db import to support the latest version of Platformatic, 0.28.1.

v1.1.0

04 Jan 04:24
Compare
Choose a tag to compare

Adds the following CLI options:

Option Required Description Default
--description No Label to include in migration filename. Must not contain periods.
--no-down No Prevents generation of the down migration file. false
--no-up No Prevents generation of the up migration file. false
--schema No Specifies the path to the schema.prisma file. prisma/schema.prisma

Example usage:

npx platformatic-prisma --description=add-email-column --no-down --schema=./custom/path/schema.prisma

v1.0.3

25 Nov 17:55
Compare
Choose a tag to compare

For each "up" migration file that is generated, a "down" migration file is now also generated. View the migrations in the example project as an example.