1
0
Fork 1
mirror of https://example.com synced 2024-11-26 00:06:39 +09:00

dev: run migration before regenerating entities

This commit is contained in:
naskya 2024-01-19 00:16:13 +09:00
parent 90c86ef13c
commit 85dfc11ad8
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -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' \