4

Using Flyway for Database Setup in Kotlin

 1 year ago
source link: https://www.youtube.com/watch?v=sWfrJepCpAk
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

7 Comments

Sort by
Add a comment...

Thanks for the interesting video. We use Liquibase for our database migrations. It was nice to get a glimpse at the "competitor" as well.

1:30 I just noticed you're still using Groovy for your Gradle scripts. And thoughts on that? Is there a reason you don't go full Kotlin and use it in your Gradle scripts as well? Or does it just happen to be this way for no particular reason? 16:08 I'm not 100% sure why IntelliJ does not offer to lift out the return, but it may be, because you're inside the `with` lambda. Thus you should be able to declare the declare the return on the `with` or convert the whole function into an expression. This way either one of the if cases will be the last line and thus implicit return. 19:05 Isn't this check only guarding against empty strings, e.g. "", but not blank strings as well, e.g. " "?

Read more


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK