Uses migrate instead of prepare.