Просмотр исходного кода

fix: add note about MongoDB compatibility in data migration README

Shun Miyazawa 7 месяцев назад
Родитель
Сommit
52f3d0029f
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      bin/data-migrations/README.md

+ 3 - 0
bin/data-migrations/README.md

@@ -20,6 +20,9 @@ docker run --rm \
   /bin/mongosh $MONGO_URI index.js
   /bin/mongosh $MONGO_URI index.js
 ```
 ```
 
 
+> **Note**
+> This script uses MongoDB 8.0 Docker image, but mongosh has backward compatibility and can connect to any MongoDB server version 4.2 or greater. See [MongoDB Shell documentation](https://www.mongodb.com/docs/mongodb-shell/install/) for details.
+
 ## Variables
 ## Variables
 | Variable              | Description                                                                    | Default |
 | Variable              | Description                                                                    | Default |
 | --------------------- | ------------------------------------------------------------------------------ | ------- |
 | --------------------- | ------------------------------------------------------------------------------ | ------- |