2.3.3 • Published 1 year ago

@wandity/community-prisma-client v2.3.3

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/community-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/community-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 community prisma client only in the wandity-remix project for now.

Development

  • The database url is saved in .env
2.3.3

1 year ago

2.3.2

1 year ago

2.3.1

1 year ago

2.3.0

1 year ago

2.2.4

1 year ago

2.2.3

1 year ago

2.2.2

1 year ago

2.2.0

1 year ago

2.1.16

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.7

2 years ago

2.1.6

2 years ago

2.1.5

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

1.0.0

2 years ago