Skip to content

[FIX] Fix migration of avatars from version 0.57.0#7428

Merged
rodrigok merged 4 commits intodevelopfrom
run-avatar-migration-on-startup
Jul 6, 2017
Merged

[FIX] Fix migration of avatars from version 0.57.0#7428
rodrigok merged 4 commits intodevelopfrom
run-avatar-migration-on-startup

Conversation

@rodrigok
Copy link
Copy Markdown
Member

@rodrigok rodrigok commented Jul 6, 2017

No description provided.

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-7428 July 6, 2017 01:03 Inactive
// 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???
Copy link
Copy Markdown
Contributor

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 ???

Copy link
Copy Markdown
Member Author

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

@rodrigok rodrigok temporarily deployed to rocket-chat-pr-7428 July 6, 2017 01:17 Inactive
@rodrigok rodrigok merged commit a3b64c0 into develop Jul 6, 2017
@rodrigok rodrigok deleted the run-avatar-migration-on-startup branch July 6, 2017 02:03
rodrigok added a commit that referenced this pull request Jul 6, 2017
@engelgabriel engelgabriel modified the milestone: 0.58.0 Jul 27, 2017
@rodrigok rodrigok modified the milestones: 0.58.0, 0.57.1 Apr 2, 2018
@rodrigok rodrigok changed the title Run avatar migration on startup [FIX] Run avatar migration on startup Apr 4, 2018
@rodrigok rodrigok changed the title [FIX] Run avatar migration on startup [FIX] Fix migration of avatars from version 0.57.0 Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants