fix(create-medusa-app): use db:migrate to run migrations (#9565)
This commit is contained in:
2
.github/workflows/test-cli-with-database.yml
vendored
2
.github/workflows/test-cli-with-database.yml
vendored
@@ -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
|
||||
|
||||
@@ -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 }
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user