-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] Fix migration of avatars from version 0.57.0 #7428
Conversation
server/startup/migrations/v099.js
Outdated
// 2. Antigo, migra de antes da 97, vai ter storage type | ||
// 3. Executou a 97, não vai ter storeType | ||
// 3.1 Se ainda tem dados no gridfs, manda ver | ||
// 3.2 Se não tem, quebra e pede a variável OU forçar a reexecutar a 97??? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to Google Translate. Just for my own reference 😁
// 1. New user, does not execute migration
// 2. Old, migrated before 97, will have storage type
// 3. Has run to 97, will not have storeType
// 3.1 If you still have data in gridfs, you have to see
// 3.2 If it does not have, break and asks for the variable OR force to re-run to 97 ???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha, sorry, I was just thinking, I'll remove
Run avatar migration on startup
No description provided.