Not production ready, just to learn, and in no way an expert yet - so lots to improve. Could be a stepping stone to a project.
docker-compose up -d
to start and create databases
npx prisma init
to create the needed Prisma setupprisma migrate dev --name <whatever>
once schema and seed are sortedprisma db seed --preview-feature
to seed the data
- If querying the DB manually (psql), you need to be careful of case and use quotation marks (lots of time lost finding out)
select * from "Schematic"
TBC