0.0.35 • Published 4 months ago

@josh-kostal/prisma v0.0.35

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

Prisma project

This project contains our Postgres database schema, seed, and PrismaClient accessor.

Purpose

Putting these things in an NPM package allows us to reuse database accessor methods across our multiple backend services

Updating the schema

  1. First, make your required changes in schema.prisma
  2. Then, run npx prisma migrate dev --name {migration-name}
  3. When you're ready, publish the changes to NPM following the steps below

Updating the NPM package

  1. Make your desired changes in the prisma folder
  2. Run npm version patch (or any of {newversion} | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git) to up the version number accordingly
  3. Run npm publish to publish the changes

Seeding your database

Run npx prisma migrate reset

Entity Relationship Diagram (ERD)

View file src/ERD.svg. This updates every time npx prisma migrate dev runs or when running npx prisma generate.

0.0.33

4 months ago

0.0.34

4 months ago

0.0.35

4 months ago

0.0.31

5 months ago

0.0.32

5 months ago

0.0.30

5 months ago

0.0.20

8 months ago

0.0.21

7 months ago

0.0.22

7 months ago

0.0.23

7 months ago

0.0.24

7 months ago

0.0.25

7 months ago

0.0.15

10 months ago

0.0.16

10 months ago

0.0.17

9 months ago

0.0.18

9 months ago

0.0.19

9 months ago

0.0.26

7 months ago

0.0.27

6 months ago

0.0.28

6 months ago

0.0.29

6 months ago

0.0.11

12 months ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago