Skip to main content
Version: 5.7.0

SysUpdateCollectionMigrate

Updates the collection option indicating whether custom collection data is to be migrated during deployment (true) or not (false).

ServiceOperation
customEntitySYS_UPDATE_COLLECTION_MIGRATE

Method Parameters

ParameterDescription
entityTypeThe name of the entity type collection
migratetrue or false

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": {
"options": {
"isOwned": false,
"migrate": true
},
"name": "athletes",
"customIndexes": {}
}
}