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
ux.error(`You can only use ${color.cmd('pg:upgrade:*')} commands on Essential-* and higher plans.`)
37
37
38
38
if(essentialNumPlan(db))
39
-
ux.error(`You can't use ${color.cmd('pg:upgrade:dryrun')} on Essentialtier databases. You can only use this command on Standard-tier and higher leader databases.`)
39
+
ux.error(`You can't use ${color.cmd('pg:upgrade:dryrun')} on Essential-tier databases. You can only use this command on Standard-tier and higher leader databases.`)
ux.error(`You can't use ${color.cmd('pg:upgrade:dryrun')} on follower databases. You can only use this command on Standard-tier and higher leader databases.`)
44
45
45
-
if(version)
46
-
awaitconfirmCommand(app,confirm,heredoc(`
47
-
Destructive action
48
-
This command starts a test upgrade for ${color.addon(db.name)} to Postgres version ${version}.
49
-
`))
50
-
else
51
-
awaitconfirmCommand(app,confirm,heredoc(`
46
+
awaitconfirmCommand(app,confirm,heredoc(`
52
47
Destructive action
53
-
This command starts a test upgrade for ${color.addon(db.name)} to the latest supported Postgres version.
54
-
`))
48
+
This command starts a test upgrade for ${color.addon(db.name)} to ${versionPhrase}.
Copy file name to clipboardExpand all lines: packages/cli/test/unit/commands/pg/upgrade/dryrun.unit.test.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ describe('pg:upgrade:dryrun', function () {
68
68
'--confirm',
69
69
'myapp',
70
70
]).catch(error=>{
71
-
expect(error.message).to.equal(`You can't use ${color.cmd('pg:upgrade:dryrun')} on Essentialtier databases. You can only use this command on Standard-tier and higher leader databases.`)
71
+
expect(error.message).to.equal(`You can't use ${color.cmd('pg:upgrade:dryrun')} on Essential-tier databases. You can only use this command on Standard-tier and higher leader databases.`)
0 commit comments