Fix DB migrations