2.3.10 • Published 2 years ago

@wandity/guides-prisma-client v2.3.10

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Prisma Migrations

Modifying schema

Steps

  • Modify schema.prisma
  • run npm run migrate:dev to create a database migration with the modified schema structure
  • run npm run generate to generate the prisma client files to publish
  • change the version number in the package.json inside the prisma/guide-client-package (to publish the package).
    • The package will be published (GitHub Actions) when we push to dev and thera are changes in the prisma/guide-client-package directory
  • the push to dev will also trigger a GitHub Action to deploy to staging at Fly.io. This will run npx prisma migrate deploy to apply the migration to the "production/staging" database. This command is set up in fly.toml.
  • Update version in the package clients. For guide prisma client only in the wandity-remix project for now.

Development

  • The database url is saved in .env
2.3.8

2 years ago

2.3.7

2 years ago

2.3.9

2 years ago

2.3.6

2 years ago

2.3.10

2 years ago

2.3.2

2 years ago

2.3.1

2 years ago

2.3.4

2 years ago

2.3.3

2 years ago

2.3.5

2 years ago

2.3.0

2 years ago

2.2.1

2 years ago

2.1.2

2 years ago

2.2.0

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.0

3 years ago