fixed migration
updated type to platform