Scaffolding and finalizing migrations