@weirdfingers/baseboards 0.9.1 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8125,17 +8125,23 @@ async function runMigrations(ctx) {
8125
8125
  )
8126
8126
  );
8127
8127
  } else {
8128
+ console.log(
8129
+ chalk2.red(
8130
+ "\n\u274C Database migrations failed"
8131
+ )
8132
+ );
8133
+ console.log(chalk2.gray("\n Error details:"));
8134
+ console.log(chalk2.gray(" " + errorMessage));
8128
8135
  console.log(
8129
8136
  chalk2.yellow(
8130
- "\n\u26A0\uFE0F Database migrations failed. You may need to run them manually:"
8137
+ "\n You can try running migrations manually:"
8131
8138
  )
8132
8139
  );
8133
8140
  console.log(
8134
8141
  chalk2.cyan(" docker compose exec api alembic upgrade head")
8135
8142
  );
8136
- console.log(chalk2.gray("\n Error details:"));
8137
- console.log(chalk2.gray(" " + errorMessage));
8138
8143
  }
8144
+ throw new Error("Database migrations failed");
8139
8145
  }
8140
8146
  }
8141
8147
  function getDevCommand(pm) {