R
Railway5mo ago
Faith

Run TypeOrm Migrations

Hello everyone! Quick question about running all my migrations for my application Im currently using Typeorm and Expressjs and im kind of stuck on how i should migrate and i tried googling but no help, thought i would ask in here what you guys do?
8 Replies
Percy
Percy5mo ago
Project ID: N/A
Brody
Brody5mo ago
run migrations in the start command
Faith
Faith5mo ago
Okay i see should i make my own railway.json and do it in there ?
Faith
Faith5mo ago
Railway
Deploy ExpressJS Prisma on Railway
An example ExpressJS application using Prisma
Faith
Faith5mo ago
i will try follow this and honestly im sad i didnt find railway earlier
Brody
Brody5mo ago
that runs the migration during build
Faith
Faith5mo ago
yea but with typeorm its a bit tricker i will see thank you for the fast response 🙏
Brody
Brody5mo ago
no problem