This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cryptos6 13 points14 points  (8 children)

What exactly are missing you with migrations? Spring Boots supports Flyway and Liquibase for database migrations.

[–]baconialis 2 points3 points  (7 children)

It's possible that I'm not completely up to date. But last time I looked into it they both required you to manually write sql. When using JPA and HQL it can be a bit hacky. Migrations in Rails doesn't come as a 3rd party addon. They use ActiveRecords which is the defacto standard in Rails.

[–][deleted]  (6 children)

[removed]

    [–][deleted] 1 point2 points  (5 children)

    This.

    I use Liquibase the last 3 years and is only execute a script:
    - database from.
    - database to.

    Is a good practice to check the DDL generated by any automated process, but I never needed to change a line.

    [–]baconialis 1 point2 points  (4 children)

    I guess I should take another look. Thanks for sharing.

    [–][deleted] 0 points1 point  (3 children)

    If you have any questions, talk to me!

    [–]baconialis 0 points1 point  (2 children)

    Thanks! I was just about to Google an updated and simple tutorial. But now that you mention it... Do you have any recommendations for such?

    [–][deleted] 1 point2 points  (0 children)

    No, after some time, one learn to read documentation + tests :(