Added knex-migrator init
to setup script
ref PROD-233 When clearing the Docker database container, you still need to be able to run `yarn setup` to create the tables.
This commit is contained in:
parent
a3bbd579dd
commit
eebf0e2eaf
3
.github/scripts/setup.js
vendored
3
.github/scripts/setup.js
vendored
@ -90,5 +90,8 @@ async function runAndStream(command, args, options) {
|
||||
}
|
||||
} else {
|
||||
console.log(chalk.green(`MySQL already configured, skipping setup`));
|
||||
|
||||
console.log(chalk.blue(`Running knex-migrator init`));
|
||||
await runAndStream('yarn', ['knex-migrator', 'init'], {cwd: coreFolder});
|
||||
}
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user