Hey I am trying to add a new optional datetime field to a protocol. Here is my attempt at the migration:
migration("NPL $fromVersion to $toVersion")
.transformProtocol("/paas-$fromVersion?/paas/Subscription", "/paas-$toVersion?/paas/Subscription") {
put("unsubscribedOn") {
createOptional(type("datetimetype"))
}
}
.retag(protos)
What goes in the datetimetype? might it be something like lang/datetime/datetime?
Thanks