Skip to content

migrate:* npm scripts reference HTTP endpoints that don't exist #1198

Description

@RUKAYAT-CODER

package.json scripts migrate:run, migrate:status, migrate:rollback, migrate:rollback:count, migrate:rollback:to and migrate:reset all curl http://localhost:3000/migrations/....

No controller in src/ exposes those endpoints (no MigrationController / migrations/run route exists), so every script fails against a running app.

Fix: either remove the scripts, or point them at the TypeORM CLI like the migration:* scripts do (npx typeorm-ts-node-commonjs migration:run -d src/config/datasource.ts).

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions