forked from noxious/server
Readme imporvement
This commit is contained in:
parent
a40b71140a
commit
bc67db7db7
@ -33,8 +33,12 @@ Run `npx mikro-orm migration:create --initial` to create a new initial migration
|
|||||||
|
|
||||||
### Create migrations
|
### 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
|
### 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.
|
Loading…
x
Reference in New Issue
Block a user