Merge pull request #4975 from backstage/timbonicus/db-default
Switch the default DB choice to SQLite
This commit is contained in:
@@ -110,7 +110,7 @@ export default async (cmd: Command): Promise<void> => {
|
||||
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);
|
||||
|
||||
@@ -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`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user