Fix migration

Signed-off-by: Fernando Rocha <fernandogrd@gmail.com>