forked from naskya/firefish
dev: run migration before regenerating entities
This commit is contained in:
parent
90c86ef13c
commit
85dfc11ad8
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -27,6 +27,7 @@ rust-lint:
|
||||||
|
|
||||||
.PHONY: regenerate-entities
|
.PHONY: regenerate-entities
|
||||||
regenerate-entities:
|
regenerate-entities:
|
||||||
|
pnpm run migrate
|
||||||
cd packages/backend/native-utils && \
|
cd packages/backend/native-utils && \
|
||||||
sea-orm-cli generate entity \
|
sea-orm-cli generate entity \
|
||||||
--output-dir='src/model/entity' \
|
--output-dir='src/model/entity' \
|
||||||
|
|
Loading…
Reference in a new issue