Skip to content

Commit

Permalink
fix(create-medusa-app): use db:migrate to run migrations (#9565)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser authored Oct 14, 2024
1 parent ebb16d6 commit 86f744c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-cli-with-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
working-directory: ../cli-test

- name: Run migrations
run: medusa migrations run && medusa links sync
run: medusa db:migrate
working-directory: ../cli-test

- name: Create admin user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default async ({
await processManager.runProcess({
process: async () => {
const proc = await execute(
["npx medusa migrations run && npx medusa links sync", npxOptions],
["npx medusa db:migrate", npxOptions],
{ verbose, needOutput: true }
)

Expand Down

0 comments on commit 86f744c

Please sign in to comment.