Releases: kgajera/platformatic-prisma
Releases · kgajera/platformatic-prisma
v1.2.0
v1.1.1
v1.1.0
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
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.