Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 622 Bytes

DEVELOPMENT.md

File metadata and controls

31 lines (17 loc) · 622 Bytes

Ghostfolio Development Guide

Git

Rebase

git rebase -i --autosquash main

Dependencies

Nx

Upgrade

  1. Run yarn nx migrate latest
  2. Make sure package.json changes make sense and then run yarn install
  3. Run yarn nx migrate --run-migrations

Prisma

Synchronize schema with database for prototyping

Run yarn database:push

https://www.prisma.io/docs/concepts/components/prisma-migrate/db-push

Create schema migration

Run yarn prisma migrate dev --name added_job_title

https://www.prisma.io/docs/concepts/components/prisma-migrate#getting-started-with-prisma-migrate