2.3.10 • Published 1 year ago

@wandity/guides-prisma-client v2.3.10

Weekly downloads
-
License
-
Repository
-
Last release
1 year 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

1 year ago

2.3.7

1 year ago

2.3.9

1 year ago

2.3.6

1 year ago

2.3.10

1 year ago

2.3.2

1 year ago

2.3.1

1 year ago

2.3.4

1 year ago

2.3.3

1 year ago

2.3.5

1 year ago

2.3.0

1 year ago

2.2.1

1 year ago

2.1.2

1 year ago

2.2.0

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago