ljlm0402 / typescript-express-starter

📘 Quick and Easy TypeScript Express Starter
http://npm.im/typescript-express-starter
MIT License
2.72k stars 419 forks source link

How do we add new migration? #151

Closed reaganscofield closed 1 year ago

reaganscofield commented 2 years ago

Summary (요약)

assumed that's we already have a table that exists in production, so now we decided to add a new column to that table how do we do this? because it seems like once the table is created and you add a new column on the model it's not gonna going to add that column on the database, in order to archive this we basically need to create a new migration file that will add the column to the existing table.

thank you for the response in advance

ljlm0402 commented 2 years ago

@reaganscofield

I will answer the question after the investigation.

thank you.