8000 GitHub - dev-cardenas/saron_server
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dev-cardenas/saron_server

Repository files navigation

Run postgres in docker

docker run --name database -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres

Prisma

npx prisma migration dev
npx prisma studio

Set up a new Prisma project

  npx prisma init

Generate artifacts (e.g. Prisma Client)

After defining your data model, you need to update your schema in the Prisma client by running

  npx prisma generate

Browse your data

 npx prisma studio

Create migrations from your Prisma schema, apply them to the database, generate artifacts (e.g. Prisma Client)

  npx prisma migrate dev --name {name_migration_here}
  npx prisma migrate reset

Run seed

  npx prisma db seed

Pull the schema from an existing database, updating the Prisma schema

  npx prisma db pull

Push the Prisma schema state to the database

  npx prisma db push

Validate your Prisma schema

  npx prisma validate

Format your Prisma schema

  npx prisma format

Package to Invoice PY

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0