switching to using migrations