mirror of
https://github.com/wassname/talk.git
synced 2026-10-01 12:42:56 +08:00
changed some text around
This commit is contained in:
1 parent
3a285d92a5
commit
480bab3c1a
1 file changed
+9
-9
+9
-9
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user