Skip to content
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

Write lastLoginVersion to stats #367

Merged
merged 1 commit into from
Sep 20, 2021
Merged

Write lastLoginVersion to stats #367

merged 1 commit into from
Sep 20, 2021

Conversation

bannzai
Copy link
Owner

@bannzai bannzai commented Sep 19, 2021

Abstract

Userが最後にログインしたバージョンを起動時に記録する

Why

PillSheet => PillSheetGroupの移行のために、PillSheetのデータが変更されるたびにPillSheetGroupを裏側で作って記録していた。これは下位バージョンのユーザーがPillSheetGroupをアップデート後に速やかに使えるようにするため。あとBackendのスクリプト自体がPillSheetGroupがある前提で書き換えているので必要なことだった。

ただ、アップデート後のユーザーに対してまでこのスクリプトを実行する必要がないため、今回のリリースから記録される lastLoginVersion を元に PillSheet => PillSheetGroupのスクリプトを実行するかどうかを決めるようにする

ref: https://github.com/bannzai/PilllBackend/pull/116

@bannzai bannzai merged commit 6970431 into main Sep 20, 2021
@bannzai bannzai deleted the add/element/save_stats branch September 20, 2021 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant