From 85dfc11ad870749621cbf88c073d799a5c679baf Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 19 Jan 2024 00:16:13 +0900 Subject: [PATCH] dev: run migration before regenerating entities --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 42767087..313b5297 100644 --- a/Makefile +++ b/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' \