mirror of
https://github.com/hanzoai/migrate.git
synced 2026-09-30 22:55:10 +00:00
* adding/removing a new field in the schema * example of updating field value from other fields * added new line at end of files Co-authored-by: Dale Hui <[email protected]>
17 lines
294 B
JSON
17 lines
294 B
JSON
[
|
|
{
|
|
"update": "users",
|
|
"updates": [
|
|
{
|
|
"q": {},
|
|
"u": {
|
|
"$set": {
|
|
"status": "active"
|
|
}
|
|
},
|
|
"multi": true
|
|
}
|
|
]
|
|
}
|
|
]
|