lintoai/linto-platform-mongodb-migration
Handles mingrations for LinTO Platform Mongo database
100K+
This services is a one shoot scripts that might migrate LinTO Platform databases content when needed (version bumps, rollbacks...)
See documentation : doc.linto.ai
With our proposed stack linto-platform-stack
git clone https://github.com/linto-ai/linto-platform-mongodb-migration.git
linto-platform-mongodb-migration
npm install
cp .envdefault .env
Then update the .env
to manage your personal configuration
Based on your environment settings, an user may be require to be create
db.createUser({
user: "LINTO_STACK_MONGODB_USER",
pwd: "LINTO_STACK_MONGODB_PASSWORD",
roles: ["readWrite"]
})
Run de mongodb migration : npm run migrate
A database with a set of collection will be create if it's successful.
docker pull lintoai/linto-platform-mongodb-migration