Database Migrations

Slick itself does not have out-of-the-box support for database migrations, but there are some third-party tools that work well with Slick. This page provides a list of them.

slick-migration-api

slick-migration-api is a library for defining database migrations, for use with Slick. It supports altering database schemas using a type-safe Scala DSL.

Flyway

Flyway is a database migration tool that can run SQL or Java against a database.

sbt integration is available. Other tools that run SQL migrations, such as Liquibase, work with Slick as well.

The source code for this page can be found here.