Database Migrations for Beginners | Flyway Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ค. 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!
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 41

  • @Qw4z1
    @Qw4z1 12 วันที่ผ่านมา +1

    Brilliant tutorial! Thank you for making this and thanks for the tip on how to handle non-nullable columns. 🙏

  • @Anton-zb9dc
    @Anton-zb9dc 8 หลายเดือนก่อน +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 ปีที่แล้ว +5

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

  • @egor_sivenko
    @egor_sivenko 7 หลายเดือนก่อน

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

  • @calumjb
    @calumjb หลายเดือนก่อน

    Massively helpful and intuitive, thank you!

  • @cgilber1
    @cgilber1 4 หลายเดือนก่อน

    Awesome, awesome video. Thank you!

  • @Antebios
    @Antebios ปีที่แล้ว +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.

  • @richardbenes9
    @richardbenes9 ปีที่แล้ว +5

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

  • @ce7371
    @ce7371 ปีที่แล้ว +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  ปีที่แล้ว

      Glad it was helpful, good luck with your api!

  • @user-fe6vr1nu9r
    @user-fe6vr1nu9r 2 ปีที่แล้ว +2

    Thanks for sharing, very clear explanation.

  • @ibedwi5018
    @ibedwi5018 8 หลายเดือนก่อน

    Thank you for your explanation!

  • @shauryadhawan-go1nc
    @shauryadhawan-go1nc 5 หลายเดือนก่อน

    Really Nice Explanation

  • @AixiAixi-gm3ch
    @AixiAixi-gm3ch 6 วันที่ผ่านมา

    Nice Vid. Thank you!

  • @japanijoota6190
    @japanijoota6190 3 หลายเดือนก่อน

    very good video, thank you!!

  • @kzuridabura8280
    @kzuridabura8280 10 หลายเดือนก่อน

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

  • @user-qd1vl9gm9p
    @user-qd1vl9gm9p 3 หลายเดือนก่อน

    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

  • @user-bs1ck6sc3s
    @user-bs1ck6sc3s ปีที่แล้ว +1

    Thank you very much!

  • @wandenreich770
    @wandenreich770 11 หลายเดือนก่อน +1

    very nice.. especially the diagrams

    • @RedhwanNacef
      @RedhwanNacef  11 หลายเดือนก่อน +1

      Thanks, glad you liked it.

  • @wigglorboy
    @wigglorboy ปีที่แล้ว +1

    Very very good explanation

  • @chuckinator0
    @chuckinator0 4 หลายเดือนก่อน

    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.

  • @abdulazeez.98
    @abdulazeez.98 ปีที่แล้ว +1

    Excellent video

  • @kiquetal
    @kiquetal 10 หลายเดือนก่อน

    why would you use the 'postgr
    es' databasename ?

  • @electricant55
    @electricant55 ปีที่แล้ว

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

    • @RedhwanNacef
      @RedhwanNacef  ปีที่แล้ว

      Nice, the basics are quite simple!

  • @sommmtoooo
    @sommmtoooo 4 หลายเดือนก่อน

    Thanks !

  • @rafaelsanchez5848
    @rafaelsanchez5848 2 หลายเดือนก่อน

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

  • @sandipansarkar9211
    @sandipansarkar9211 9 หลายเดือนก่อน

    finished watching

  • @archiewoosung5062
    @archiewoosung5062 ปีที่แล้ว +1

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

    • @mrsagarish
      @mrsagarish ปีที่แล้ว

      yup had to see the video at 0.75 speed

    • @beinghappy3924
      @beinghappy3924 ปีที่แล้ว

      @@mrsagarish He was already looking video at 0.5 speed

    • @RedhwanNacef
      @RedhwanNacef  ปีที่แล้ว

      Will try to be more clear in future!

    • @user-iu9dp5pe3f
      @user-iu9dp5pe3f 8 หลายเดือนก่อน +2

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