changed some text around

This commit is contained in:
Wyatt Johnson
2017-06-08 09:12:08 -06:00
parent 3a285d92a5
commit 480bab3c1a
+9 -9
View File
@@ -32,15 +32,6 @@ async function runMigrations() {
try {
// Get the migrations to run.
let migrations = await MigrationService.listPending();
console.log('Now going to run the following migrations:\n');
for (let {filename} of migrations) {
console.log(`\tmigrations/${filename}`);
}
let {backedUp} = await inquirer.prompt([
{
type: 'confirm',
@@ -54,6 +45,15 @@ async function runMigrations() {
throw new Error('Please backup your databases prior to migrations occuring');
}
// Get the migrations to run.
let migrations = await MigrationService.listPending();
console.log('Now going to run the following migrations:\n');
for (let {filename} of migrations) {
console.log(`\tmigrations/${filename}`);
}
let {confirm} = await inquirer.prompt([
{
type: 'confirm',