episode migration/model