1
0
Fork 1
mirror of https://example.com synced 2024-11-22 13:46:38 +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
regenerate-entities:
pnpm run migrate
cd packages/backend/native-utils && \
sea-orm-cli generate entity \
--output-dir='src/model/entity' \