duplicate schema and migrate