Skip to content

npm run migrate references nonexistent migrate.ts #9

Description

@DeFiVC

What

package.json defines "migrate": "tsx src/database/migrate.ts" but no migrate.ts file exists anywhere under src/database/.

Why

Running npm run migrate would fail with a file-not-found error. Operators have no way to run migrations outside of the Docker entrypoint.

Scope

  • Create src/database/migrate.ts that runs the SQL migrations
  • Or remove the script if migrations are handled differently

Acceptance Criteria

  • npm run migrate works successfully
  • Migrations are applied correctly

Technical Context

  • File: package.json, line 10
  • File: src/database/migrations/001_initial.sql (the migration to run)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions