Steve Cook
Steve Cook
RRailway
Created by Steve Cook on 2/5/2024 in #✋|help
TypeORM migrations
I've installed the Railway CLI and am trying to run database migrations. This is from my package.json on the backend service. "migration:run:prod": "npm run typeorm migration:run", So I'm trying to cd into the /server directory, and run
railway run yarn run migration:run:prod
railway run yarn run migration:run:prod
but I'm getting the error message:
Error during migration run:
Error: SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string
Error during migration run:
Error: SASL: SCRAM-SERVER-FIRST-MESSAGE: client password must be a string
All my env vars are set, so I'm not sure what else to check. Does anyone have a suggestion? 🙂
88 replies