migrate_snapshot.ts