Skip to content

Commit

Permalink
Stable TableMigration.Reversible.toString (#79)
Browse files Browse the repository at this point in the history
Fixed TableMigration Reversible class to have an explicit toString in
order to be sure that description comparisons in the flyway extension
work as expected.
  • Loading branch information
nafg authored May 19, 2020
2 parents ea1b2a4 + 1954bd7 commit 49cfdcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/slick/migration/api/TableMigration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ object TableMigration {
}
}
}
override def toString = underlying.toString
}

implicit def toReversible[T <: JdbcProfile#Table[_]]: ToReversible[TableMigration[T, Action.Reversible]] =
Expand Down

0 comments on commit 49cfdcc

Please sign in to comment.