-
Notifications
You must be signed in to change notification settings - Fork 69
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
feat(cli): migrations for team validation #1124
base: refactor/team-validation-in-api-and-db
Are you sure you want to change the base?
feat(cli): migrations for team validation #1124
Conversation
} | ||
} | ||
|
||
logger.Info(). |
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.
давай еще залогаем само имя?
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.
Не совсем понял :(.
Тут на выходе мапа получается со всеми командами, где ключ - название, значение - слайс из команд с таким именем.
Или предлагаешь здесь статистику вывести, что с таким-то именем столько-то команд?
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.
чтоб в логе было видно кого переиначили - да
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.
а на проде у нас много, кстати таких, кого придется переименовывать?
PR Summary
In #1123 db schema is changed a bit. This PR provides necessary migrations
updating from 2.13
Use following command to update to new version.
cli --update --from-version '2.13'
This command will do the following:
"moira-teams-by-names"
redis hash.downgrading to 2.13
Use following command to downgrade to previous version.
cli --downgrade --to-version '2.13'
This command will delete
"moira-teams-by-names"
redis hash.