mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 20:15:41 +01:00
Add database migration info
This commit is contained in:
parent
12db1b0961
commit
f1dd9fd093
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue