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
Technical Context
- File:
package.json, line 10
- File:
src/database/migrations/001_initial.sql (the migration to run)
What
package.jsondefines"migrate": "tsx src/database/migrate.ts"but nomigrate.tsfile exists anywhere undersrc/database/.Why
Running
npm run migratewould fail with a file-not-found error. Operators have no way to run migrations outside of the Docker entrypoint.Scope
src/database/migrate.tsthat runs the SQL migrationsAcceptance Criteria
npm run migrateworks successfullyTechnical Context
package.json, line 10src/database/migrations/001_initial.sql(the migration to run)