Skip to content

Commit

Permalink
fix: update last skipVerify
Browse files Browse the repository at this point in the history
  • Loading branch information
JessChowdhury committed Oct 28, 2024
1 parent 1878705 commit 3eda767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/db-sqlite/src/createMigration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const require = createRequire(import.meta.url)

export const createMigration: CreateMigration = async function createMigration(
this: SQLiteAdapter,
{ file, forceAcceptWarning, migrationName, payload, skipVerify },
{ file, forceAcceptWarning, migrationName, payload, skipEmpty },
) {
const filename = fileURLToPath(import.meta.url)
const dirname = path.dirname(filename)
Expand Down Expand Up @@ -79,7 +79,7 @@ export const createMigration: CreateMigration = async function createMigration(
.join('\n')
}

if (!upSQL?.length && !downSQL?.length && !forceAcceptWarning && !skipVerify) {
if (!upSQL?.length && !downSQL?.length && !forceAcceptWarning && !skipEmpty) {
const { confirm: shouldCreateBlankMigration } = await prompts(
{
name: 'confirm',
Expand Down

0 comments on commit 3eda767

Please sign in to comment.