@ -40,6 +40,10 @@ db.Configuration.findOneAndUpdate(
{ \$set: { "dbName" : "$DBNAME"} }
);
EOF
info Removing cache before migration
rm -rf "$SERVICE_DATASTORE/var/cache/gogocarto/prod/"*
info Launch migration
symphony db:migrate
} || {
err "Mongo database migration failed."