From 171e505f2250a4e6dc2b6f2912171edf77262d0f Mon Sep 17 00:00:00 2001 From: GW_MC <72297530+GWMCwing@users.noreply.github.com> Date: Sat, 25 Apr 2026 06:30:13 +0000 Subject: [PATCH] fix: update migration and entity generation commands in CI workflow --- .github/workflows/verify.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 49bd73f..b06c201 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -109,14 +109,14 @@ jobs: - name: Apply migrations if: steps.check_changes.outputs.changed == 'true' run: | - cargo run -p nxmesh-migration -- up + cd crates && sea-orm-cli migrate up - name: Regenerate entities if: steps.check_changes.outputs.changed == 'true' run: | - sea-orm-cli generate entity \ + cd crates && sea-orm-cli generate entity \ --database-url "$DATABASE_URL" \ - --output-dir apps/nxmesh-master/src/db/entities \ + --output-dir ../apps/nxmesh-master/src/db/entities \ --with-serde both \ --with-copy-enums \ --date-time-crate chrono