Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: add some fields to mongodb migration schema schema (#3928)

h3n4ld62f7dd84e66
diff --git a/plugin/db/mongodb/collmod_migrationHistory_collection_command.json b/plugin/db/mongodb/collmod_migrationHistory_collection_command.json
index 79c6bba126..0ab55d9dd1 100644
--- a/plugin/db/mongodb/collmod_migrationHistory_collection_command.json
+++ b/plugin/db/mongodb/collmod_migrationHistory_collection_command.json
@@ -7,11 +7,15 @@
"_id",
"created_by",
"created_ts",
+ "updated_by",
+ "updated_ts",
"release_version",
"namespace",
"sequence",
"source",
+ "type",
"status",
+ "version",
"description",
"statement",
"executon_duration_ns",
@@ -28,6 +32,12 @@
"created_ts": {
"bsonType": "long"
},
+ "updated_by": {
+ "bsonType": "string"
+ },
+ "updated_ts": {
+ "bsonType": "long"
+ },
"release_version": {
"bsonType": "string"
},
@@ -41,9 +51,15 @@
"source": {
"bsonType": "string"
},
+ "type": {
+ "bsonType": "string"
+ },
"status": {
"bsonType": "string"
},
+ "version": {
+ "bsonType": "string"
+ },
"description": {
"bsonType": "string"
},