From f77fad99c4a14f157921f4f1d0fd947cb09ed3a8 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 42767087c..313b52971 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' \