22 Nest JS adding columns to a database table TypeORM using migrations

Опубликовано: 04 Октябрь 2024
на канале: Amitav Roy
8,307
76

#nodejs #nestjs #javascript

In this video, we are going to look at adding one more column to our user table for roles.

We will see how we can add a new attribute to our user entity, generate a new migration which will have the sequel script to add that column and how we can also use migration revert to revert back as well.

Code: https://my-lnk.com/2188012324

You can find me on:
Twitter:   / amitavroy7​  
Discord:   / discord