How to add Flyway to an existing project

แชร์
ฝัง

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

  • @AvinashRawat-i9q
    @AvinashRawat-i9q 7 หลายเดือนก่อน

    Suppose I have Existing Spring project and all db connections everything has been done there in application.properties , Now I want to use flyway for existing proeject in Production , Do we really need baselining for that also ? if yes then why : if no then how ?

  • @munishsharma11dec
    @munishsharma11dec 2 ปีที่แล้ว

    Really helpful, I can also reduce my flyway scripts in db/migration folder using this baseline facility. Does liquibase also supports baselining ?
    BTW thanks for explanation.

  • @aturan-fo1qt
    @aturan-fo1qt 2 ปีที่แล้ว

    Thanks 👍

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

    Thanks for this great video. If its any help to others you can brew install flyway then run this command: flyway -url=jdbc:postgresql://localhost:5432/yourlocaldb -user=postgres -password=postgres baseline -baselineDescription="V1__innital_001.sql". (It will automatically set version to 1 in the table.) With reference to 4.15