Skip to content

Commit a6b42e2

Browse files
committed
chore: wip
1 parent 41a0327 commit a6b42e2

File tree

1 file changed

+2
-2
lines changed
  • .stacks/core/buddy/src/commands

1 file changed

+2
-2
lines changed

.stacks/core/buddy/src/commands/make.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ExitCode } from '@stacksjs/types'
22
import type { CLI, MakeOptions } from '@stacksjs/types'
33
import { intro, italic, log, outro, prompts, runCommand } from '@stacksjs/cli'
4-
import { projectPath } from '@stacksjs/path'
4+
import { frameworkPath } from '@stacksjs/path'
55
import {
66
createModel,
77
createNotification,
@@ -241,7 +241,7 @@ async function make(buddy: CLI) {
241241
.option('-n, --name', 'The name of the migration')
242242
.option('-e, --env', 'The environment to run the migration in', { default: 'dev' })
243243
.action(async (options: MakeOptions) => {
244-
const path = `${projectPath()}/.stacks/database/schema.prisma`
244+
const path = frameworkPath('database/schema.prisma')
245245
const name = buddy.args[0] || options.name
246246
options.name = name
247247

0 commit comments

Comments
 (0)