Database in working order with migrations