What Are Database Migrations? | Database Migrations in Node

Поделиться
HTML-код
  • Опубликовано: 5 янв 2021
  • 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/paypalme/codin...
  • НаукаНаука

Комментарии • 37

  • @charlescoulter4513
    @charlescoulter4513 2 года назад +7

    I love love love the speed at which you talk. All others talk too slowly. Takes forever to get to the point. THANK YOU!

  • @dannylamtoro8447
    @dannylamtoro8447 3 года назад +14

    watching at 0.5x keep it up

  • @scottscott232
    @scottscott232 2 года назад +5

    This is absolutely fantastic. Great, lively speed of delivery, and easy to understand, with comprehensible use case scenarios. Many thanks.

  • @piyush9555
    @piyush9555 2 года назад +3

    Chaim, you are the only one who always helps me in the so deep combinations of things where resources lack. Thanks as always

  • @kevinrgt
    @kevinrgt 3 года назад +16

    When Eminem teaches coding. hahah

  • @craigsims808
    @craigsims808 Год назад

    Awesome tutorial. Your delivery speed is perfect.

  • @user-zt1hx3ci2v
    @user-zt1hx3ci2v 2 года назад

    Thank you very much, waiting more videos from you!

  • @rohankadam7376
    @rohankadam7376 Год назад +1

    I was struggling with migrations in knex, this tutorial really helped me to understand the migrations. Thank you so much !!!

  • @leandro3710
    @leandro3710 2 года назад +1

    Even not being a native speaker I could understand everything, nice job!

  • @user-iq1km3bd9s
    @user-iq1km3bd9s Год назад +1

    dude, you are totally underrated. Even though you are explaining too fast i can understand everything you say😲😳

  • @maheshmurugan5527
    @maheshmurugan5527 2 года назад

    Thanks for marking this video ..

  • @benrogers5736
    @benrogers5736 Год назад

    Great video, thanks

  • @EricCRO
    @EricCRO 3 года назад

    Wow this video is great!

  • @ashishchourasia2830
    @ashishchourasia2830 2 года назад +7

    I checked whether I was watching in 2X :P

  • @iva1389
    @iva1389 Месяц назад

    finally! appropriate speedflow.

  • @RanjitSingh-wy4ku
    @RanjitSingh-wy4ku 2 года назад +12

    nice explanation. I had to check if I was playing it at 1.5x speed :-)
    What could be other alternatives to Knex library?

  • @fredianriko5648
    @fredianriko5648 Год назад

    thank you ben saphiro

  • @ehsanShirzadi
    @ehsanShirzadi 6 месяцев назад

    This is the first video tutorial, I didn't have to set the speed to 1.5X :D

  • @evanilsonp.8183
    @evanilsonp.8183 3 месяца назад

    Jesus you talk so fast. But i understand well haha thsnks man your video was good

  • @_slier
    @_slier 2 года назад

    what is the differences between knex and db-migrate?

  • @ibadshaikh2215
    @ibadshaikh2215 2 года назад +2

    By default 1.5x

  • @william3588
    @william3588 3 года назад

    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
      @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.

  • @asdiasx
    @asdiasx 2 года назад

    Great contents! But too fast for non natives english speakers like me... 😐

  • @TheNepalikhukuri
    @TheNepalikhukuri 3 года назад +1

    semi bald eminem is lit, thank you 😀

  • @supernenechi
    @supernenechi Год назад +1

    I actually had to check if I was playing at 1.5x speed. Man, you speak quickly. Otherwise good video

  • @ruslan762
    @ruslan762 2 года назад

    Nice explanation but it seems like this guy was working on Texas auctions in the past )))

  • @igorordecha
    @igorordecha 2 года назад

    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

  • @sharexyubeus736
    @sharexyubeus736 2 года назад +1

    jewish ?