From f1dd9fd093c7ad58297ae037dc11905d60e1563c Mon Sep 17 00:00:00 2001 From: Stanislav Khromov Date: Sun, 9 Oct 2022 21:49:54 +0200 Subject: [PATCH] Add database migration info --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 8ad15df4..1238b18b 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,13 @@ You can now visit: http://localhost:3000/ An Adminer instance is provided, you can reach it at: http://localhost:8080/ +8. Database migrations + +You can generate a database migration like this: + +1. Make a change in `schema.prisma` +2. Run `npx prisma migrate dev --name my_cool_migration` + ## License MIT