migration.js -> sync.