What Are Database Migrations? | Database Migrations in Node
Ғылым және технология
In this video I talk about what database migrations are, what database migrations are good for, and finally how to achieve database migrations in a nodejs project using a library called knex.
--SUPPORT THE CHANNEL--
If you would like to support the channel you can use the below link.
I would like to stress that while it would be greatly appreciated, in no way is this required!
link: www.paypal.com...
Пікірлер: 38
watching at 0.5x keep it up
I love love love the speed at which you talk. All others talk too slowly. Takes forever to get to the point. THANK YOU!
When Eminem teaches coding. hahah
This is absolutely fantastic. Great, lively speed of delivery, and easy to understand, with comprehensible use case scenarios. Many thanks.
Chaim, you are the only one who always helps me in the so deep combinations of things where resources lack. Thanks as always
@CodingWithChaim
2 жыл бұрын
You are most welcome
I checked whether I was watching in 2X :P
@saleht.marouf3538
3 жыл бұрын
hahahaa me too!
I was struggling with migrations in knex, this tutorial really helped me to understand the migrations. Thank you so much !!!
@CodingWithChaim
Жыл бұрын
Glad it helped!
dude, you are totally underrated. Even though you are explaining too fast i can understand everything you say😲😳
nice explanation. I had to check if I was playing it at 1.5x speed :-) What could be other alternatives to Knex library?
@shivanshpratap3624
3 жыл бұрын
Any ORM that supports migrations.
Even not being a native speaker I could understand everything, nice job!
finally! appropriate speedflow.
Awesome tutorial. Your delivery speed is perfect.
Thank you very much, waiting more videos from you!
This is the first video tutorial, I didn't have to set the speed to 1.5X :D
By default 1.5x
Thanks for marking this video ..
Great video, thanks
Wow this video is great!
what is the differences between knex and db-migrate?
Jesus you talk so fast. But i understand well haha thsnks man your video was good
I actually had to check if I was playing at 1.5x speed. Man, you speak quickly. Otherwise good video
With migrations What about removing a column from a table? Should I remove it on the up and down function? exports.up = function (knex) { return knex.schema.table('user', (table) => { table.dropColumn('fullname'); }); }; exports.down = function (knex) { knex.schema.table('user', (table) => { table.dropColumn('fullname'); }); };
@CodingWithChaim
3 жыл бұрын
Great question! You want the down to do the opposite of the up, so if the up is removing the column, I would make the down add it back. I like to think of it as an undo.
thank you ben saphiro
Great contents! But too fast for non natives english speakers like me... 😐
semi bald eminem is lit, thank you 😀
bro is speaking eminem
Nice explanation but it seems like this guy was working on Texas auctions in the past )))
Had to watch at 1.5x speed. You're not even talking at rap god's fast verse-like speed. If i was subscribed I would unsubscribe rn. /s
jewish ?
@ahmadalghali90
2 жыл бұрын
not shot
@igorordecha
2 жыл бұрын
NO WAY
@saadhabashneh5587
2 ай бұрын
yes