Merge pull request #4975 from backstage/timbonicus/db-default

Switch the default DB choice to SQLite
This commit is contained in:
Tim
2021-03-16 16:39:07 -06:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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`);
}