Scala migration: equals()