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
|
||||
regenerate-entities:
|
||||
pnpm run migrate
|
||||
cd packages/backend/native-utils && \
|
||||
sea-orm-cli generate entity \
|
||||
--output-dir='src/model/entity' \
|
||||
|
|
Loading…
Reference in a new issue