nest-blog-api icon indicating copy to clipboard operation
nest-blog-api copied to clipboard

How to add new column in table

Open skaka0190 opened this issue 4 years ago • 2 comments

I added one new column in user table i.e. address, after added this column on console show what added column but in database table is not updated. So my question is if i want added column how can I do this? is there any migration method?

skaka0190 avatar Apr 23 '21 21:04 skaka0190

You were able to find any solution for this issue?

scristian9 avatar Jul 13 '22 13:07 scristian9

@skaka0190 @scristian9 I'm sorry for responding this late. I have been away from his repo and I just saw this.

I wrote an article about how to add migration to a Nest project here

I hope this help, but if you have further questions about the topic let me know.

onwuvic avatar Sep 23 '22 19:09 onwuvic