fix(create-medusa-app): use db:migrate to run migrations (#9565)

This commit is contained in:
Shahed Nasser
2024-10-14 18:54:05 +03:00
committed by GitHub
parent ebb16d6020
commit 86f744cf3b
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ jobs:
working-directory: ../cli-test working-directory: ../cli-test
- name: Run migrations - name: Run migrations
run: medusa migrations run && medusa links sync run: medusa db:migrate
working-directory: ../cli-test working-directory: ../cli-test
- name: Create admin user - name: Create admin user

View File

@@ -145,7 +145,7 @@ export default async ({
await processManager.runProcess({ await processManager.runProcess({
process: async () => { process: async () => {
const proc = await execute( const proc = await execute(
["npx medusa migrations run && npx medusa links sync", npxOptions], ["npx medusa db:migrate", npxOptions],
{ verbose, needOutput: true } { verbose, needOutput: true }
) )