@Andrew_Morgan Here’s schemas:
ArticleMeta = {
“title”: “articlemeta”,
“properties”: {
“__v”: {
“bsonType”: “int”
},
“_id”: {
“bsonType”: “objectId”
},
“authors”: {
“bsonType”: “array”,
“items”: {
“bsonType”: “object”,
“properties”: {
“_id”: {
“bsonType”: “objectId”
},
“ambiguous_author”: {
“bsonType”: “bool”
},
“author”: {
“bsonType”: “objectId”
},
“createdAt”: {
“bsonType”: “date”
},
“updatedAt”: {
“bsonType”: “date”
}
}
}
},
“catalog_id”: {
“bsonType”: “objectId”
},
“content”: {
“bsonType”: “objectId”
},
“createdAt”: {
“bsonType”: “date”
},
“description”: {
“bsonType”: “string”
},
“language”: {
“bsonType”: “object”,
“properties”: {
“_id”: {
“bsonType”: “objectId”
},
“createdAt”: {
“bsonType”: “date”
},
“display_name”: {
“bsonType”: “string”
},
“language_id”: {
“bsonType”: “objectId”
},
“lcid_String”: {
“bsonType”: “string”
},
“name”: {
“bsonType”: “string”
},
“updatedAt”: {
“bsonType”: “date”
}
}
},
“main_image_url”: {
“bsonType”: “string”
},
“origin_type”: {
“bsonType”: “string”
},
“pub_date”: {
“bsonType”: “date”
},
“publication”: {
“bsonType”: “objectId”
},
“sub_title”: {
“bsonType”: “string”
},
“title”: {
“bsonType”: “string”
},
“updatedAt”: {
“bsonType”: “date”
},
“url”: {
“bsonType”: “string”
},
“_partition_key”: {
“bsonType”: “string”
}
}
}
Article= {
“title”: “article”,
“properties”: {
“__v”: {
“bsonType”: “int”
},
“_id”: {
“bsonType”: “objectId”
},
“active_search”: {
“bsonType”: “bool”
},
“article_meta”: {
“bsonType”: “objectId”
},
“catalog_id”: {
“bsonType”: “objectId”
},
“content”: {
“bsonType”: “objectId”
},
“createdAt”: {
“bsonType”: “date”
},
“flagged”: {
“bsonType”: “bool”
},
“owner_id”: {
“bsonType”: “objectId”
},
“rating”: {
“bsonType”: “int”
},
“read”: {
“bsonType”: “bool”
},
“status”: {
“bsonType”: “string”
},
“status_updated_at”: {
“bsonType”: “date”
},
“subscriptions”: {
“bsonType”: “array”,
“items”: {
“bsonType”: “object”,
“properties”: {
“_id”: {
“bsonType”: “objectId”
},
“createdAt”: {
“bsonType”: “date”
},
“origin_type”: {
“bsonType”: “string”
}
}
}
},
“updatedAt”: {
“bsonType”: “date”
},
“_partition_key”: {
“bsonType”: “string”
}
}
}
catalogPublication = {
“title”: “catalogpublication”,
“properties”: {
“__v”: {
“bsonType”: “int”
},
“_id”: {
“bsonType”: “objectId”
},
“_partition_key”: {
“bsonType”: “string”
},
“createdAt”: {
“bsonType”: “date”
},
“is_master”: {
“bsonType”: “bool”
},
“name”: {
“bsonType”: “string”
},
“updatedAt”: {
“bsonType”: “date”
}
}
}
SO I have already defined a relationship between article and articlemeta and it is working absolutely fine but when I tried to define relationship between articleMeta and catalogPublication No data is synced and I can not see any errors in the logs.
Thanks