You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/packages/pongo/src/commandLine/migrate.ts
+19-7Lines changed: 19 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ interface MigrateRunOptions {
18
18
interfaceMigrateSqlOptions{
19
19
print?: boolean;
20
20
write?: string;
21
+
config?: string;
21
22
collection: string[];
22
23
}
23
24
@@ -29,7 +30,7 @@ migrateCommand
29
30
.command('run')
30
31
.description('Run database migrations')
31
32
.option(
32
-
'-cs, --connectionString <string>',
33
+
'-cs, --connection-string <string>',
33
34
'Connection string for the database',
34
35
)
35
36
.option(
@@ -51,7 +52,8 @@ migrateCommand
51
52
52
53
if(!connectionString){
53
54
console.error(
54
-
'Error: Connection string is required. Provide it either as a "--connectionString" parameter or through the DB_CONNECTION_STRING environment variable.',
55
+
'Error: Connection string is required. Provide it either as a "--connection-string" parameter or through the DB_CONNECTION_STRING environment variable.'+
0 commit comments