Add database migration info
parent
12db1b0961
commit
f1dd9fd093
|
|
@ -152,6 +152,13 @@ You can now visit: http://localhost:3000/
|
||||||
An Adminer instance is provided, you can reach it at:
|
An Adminer instance is provided, you can reach it at:
|
||||||
http://localhost:8080/
|
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
|
## License
|
||||||
|
|
||||||
MIT
|
MIT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue