bcgov / bcgov/zeva2

ZEVA2 - upgrade to prisma 7 and transition to migrations

Open
#276 0 comments 0 reactions 1 assignee Claimed by @tim738745 View on GitHub
Medium Task
Dominant language
TypeScript
Stars
1
Forks
6
Avg merge
14h 22m
Merged PRs (30d)
32

Description

**Describe the task**
Upgrade to prisma 7 and transition to migrations

**Purpose**
Necessary before we go to production.

**Acceptance Criteria**
- [ ] Prisma upgraded to v7.
- [ ] Migrations folder created, with an initial (baseline) migration.
- [ ] Create a new `migrate` script in package.json, and use this script in the openshift Dockerfile in place of `pushAndSeed`; also, should use this script as part of the `dev` script (in place of `pushSchemaToDB`).

**Additional context**
See the upgrade to v7 guide here: https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-7, and the transition to migrations guide here: https://www.prisma.io/docs/orm/prisma-migrate/getting-started#adding-prisma-migrate-to-an-existing-project.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.