Database Migrations for Beginners | Flyway Tutorial

Sdílet
Vložit
  • čas přidán 2. 07. 2024
  • Hello! Let's take a look at how database migrations work and why they are needed. This concept is the exact same across any language/framework, however I will be doing a demo using Javas Flyway. I hope you enjoy it!
    Useful Links:
    Github: github.com/redhwannacef/youtu...
    Flyway Docs: flywaydb.org/
    Music:
    • Splash
    Huge thank you to Harris Heller for providing copyright-free music.
    Hey everyone! My name is Redhwan Nacef (Red for short). In this channel, I'm hoping to share my thoughts on software engineering, coding, management, and all things tech. I hope you enjoy!
  • Věda a technologie

Komentáře • 39

  • @Anton-zb9dc
    @Anton-zb9dc Před 7 měsíci +2

    Thank you for being straight on point and showing a problem straight forward. I didn't get why my student project asks me to create project with sql migrations from the start on, now I get it!

  • @jesper2455
    @jesper2455 Před rokem +5

    Great tutorial! I liked the hands-on approach of actually showing the workflow in the IDE.

  • @egor_sivenko
    @egor_sivenko Před 6 měsíci

    Tysm for this tutorial. It helped me a lot to get into db migrations. Best video among others for beginners 🔥

  • @calumjb
    @calumjb Před 28 dny

    Massively helpful and intuitive, thank you!

  • @cgilber1
    @cgilber1 Před 4 měsíci

    Awesome, awesome video. Thank you!

  • @ibedwi5018
    @ibedwi5018 Před 7 měsíci

    Thank you for your explanation!

  • @user-fe6vr1nu9r
    @user-fe6vr1nu9r Před 2 lety +2

    Thanks for sharing, very clear explanation.

  • @richardbenes9
    @richardbenes9 Před rokem +5

    Thank you for a great explanation - with both high-level concepts & examples of use.

  • @shauryadhawan-go1nc
    @shauryadhawan-go1nc Před 4 měsíci

    Really Nice Explanation

  • @ce7371
    @ce7371 Před rokem +2

    usually learning means a indi voice + i dont speak english and so paintfull but that is everything I needed and so well explained u force me to do it ... u are so good I need to code my first android api cya c++ for a while

    • @RedhwanNacef
      @RedhwanNacef  Před 11 měsíci

      Glad it was helpful, good luck with your api!

  • @Antebios
    @Antebios Před rokem +1

    Thanks for this introduction. I'm used to working with DACPACs and MSSQL. They each have their own method and process of migrating and updating but have the same goals. I just need to learn how Flyway carries them out.

  • @japanijoota6190
    @japanijoota6190 Před 3 měsíci

    very good video, thank you!!

  • @user-bs1ck6sc3s
    @user-bs1ck6sc3s Před rokem +1

    Thank you very much!

  • @wigglorboy
    @wigglorboy Před rokem +1

    Very very good explanation

  • @wandenreich770
    @wandenreich770 Před 10 měsíci +1

    very nice.. especially the diagrams

  • @abdulazeez.98
    @abdulazeez.98 Před rokem +1

    Excellent video

  • @sommmtoooo
    @sommmtoooo Před 3 měsíci

    Thanks !

  • @kzuridabura8280
    @kzuridabura8280 Před 10 měsíci

    Which extension are you using to show hints for SQL query at 13:43

  • @rafaelsanchez5848
    @rafaelsanchez5848 Před měsícem

    I rather using Django for migrations, obviusly while having python knowledge in the matter. Excellente vid btw

  • @sandipansarkar9211
    @sandipansarkar9211 Před 9 měsíci

    finished watching

  • @user-qd1vl9gm9p
    @user-qd1vl9gm9p Před 2 měsíci

    Great tutorial! I have one question: Is it possible to automatically run migration script on the application startup? I want to do it automatically on every new-version deployment of my application

  • @electricant55
    @electricant55 Před rokem

    My last project had database migration written in-house from scratch, nice to know I don't have to give up on it

  • @chuckinator0
    @chuckinator0 Před 3 měsíci

    Nice tutorial. I just want to note the worst naming in all of computer science: “database schema”. This video is about data schemas, ie the format of your data, ie what fields there are in the table and their types.
    Then there’s “database schema” which is completely unrelated. This is a namespace your database uses for tables. For example, you might have two tables postgres.prod.users and postgres.dev.users. The tables have the same name, but are in different schemas (ie namespaces) dev and prod.
    This was very confusing to me at one point, so hopefully it helps someone out.

  • @kiquetal
    @kiquetal Před 9 měsíci

    why would you use the 'postgr
    es' databasename ?

  • @archiewoosung5062
    @archiewoosung5062 Před rokem +1

    You're talking very quickly & using the mouse a lot

    • @mrsagarish
      @mrsagarish Před rokem

      yup had to see the video at 0.75 speed

    • @beinghappy3924
      @beinghappy3924 Před rokem

      @@mrsagarish He was already looking video at 0.5 speed

    • @RedhwanNacef
      @RedhwanNacef  Před 11 měsíci

      Will try to be more clear in future!

    • @user-iu9dp5pe3f
      @user-iu9dp5pe3f Před 8 měsíci +2

      I was watching it at 1.5x and didn't struggle with his pronunciation.