Skip to content

Commit 64885f6

Browse files
Mr-Pepesimolus3
authored andcommitted
Add file path to error message in make-migrations script
1 parent fd42712 commit 64885f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drift_dev/lib/src/cli/commands/make_migrations.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ class _MigrationTestEmitter {
323323
} else if (schemaFile.readAsStringSync() != content) {
324324
cli.exit(
325325
"A schema for version $schemaVersion of the $dbName database already exists and differs from the current schema."
326-
" Either delete the existing schema file or update the schema version in the database file.");
326+
" Either delete the existing schema file (${schemaFile.path}) or update the schema version in the database file.");
327327
}
328328
}
329329

0 commit comments

Comments
 (0)