Fix pending migrations errrors