Database migrations require developers to carefully synchronize their object models and database schemas, which can become maddening, especially when switching git branches during development. Fulfilling the task manually is not only a redundant activity but usually error-prone.
Is there a way to leverage the features from Scala and Slick to provide a convenient, minimal effort, reliable and safer migration process? The answer is yes. In this talk, I will present Scala Forklift, a production-ready, type-safe database migration tool for Scala, developed in coordination with the Slick developers. The experimental git integration makes it easier to work with branches. I will do a live demonstration on how developers can use it with Slick on a git workflow, and how it can make life easier. Scala Forklift is not coupled to Slick and can be used with any data store.
Yao Li is Ph.D. student at the University of Pennsylvania. He has become a Scala fan since about three years ago. He is one of the major contributors to Scala-Forklift.