1
0
forked from noxious/server

Readme imporvement

This commit is contained in:
Dennis Postma 2025-01-03 16:08:19 +01:00
parent a40b71140a
commit bc67db7db7

View File

@ -33,8 +33,12 @@ Run `npx mikro-orm migration:create --initial` to create a new initial migration
### Create migrations
Run `npx mikro-orm migration:create` to create a new migration.
Run `npx mikro-orm migration:create` to create a new migration. You do this when you want to add a new table or change an existing one.
### Apply migrations
Run `npx mikro-orm migration:up` to apply all pending migrations.
Run `npx mikro-orm migration:up` to apply all pending migrations.
### Import default data
After running the server, write `init` in the console to import default data.