diff --git a/packages/create-app/src/createApp.ts b/packages/create-app/src/createApp.ts index 775d53dfdc..8a269416a3 100644 --- a/packages/create-app/src/createApp.ts +++ b/packages/create-app/src/createApp.ts @@ -110,7 +110,7 @@ export default async (cmd: Command): Promise => { name: 'dbType', message: chalk.blue('Select database for the backend [required]'), // @ts-ignore - choices: ['PostgreSQL', 'SQLite'], + choices: ['SQLite', 'PostgreSQL'], }, ]; const answers: Answers = await inquirer.prompt(questions); diff --git a/packages/e2e-test/src/commands/run.ts b/packages/e2e-test/src/commands/run.ts index 851dccae16..c055bcd21e 100644 --- a/packages/e2e-test/src/commands/run.ts +++ b/packages/e2e-test/src/commands/run.ts @@ -203,7 +203,7 @@ async function createApp( await waitFor(() => stdout.includes('Select database for the backend')); - if (!isPostgres) { + if (isPostgres) { // Simulate down arrow press child.stdin?.write(`\u001B\u005B\u0042`); }