Fixed DB migrate