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

Міграція статистики завантажень і бонусів (bb_bt_users) #47

Closed
AIlkiv opened this issue Jun 23, 2017 · 3 comments · May be fixed by #74
Closed

Міграція статистики завантажень і бонусів (bb_bt_users) #47

AIlkiv opened this issue Jun 23, 2017 · 3 comments · May be fixed by #74
Assignees
Milestone

Comments

@AIlkiv
Copy link

AIlkiv commented Jun 23, 2017

Треба зв'язати старі колонки з новими.
На толоці є колонки:
u_bonus_total
u_bonus_today
u_bonus_hourly
u_down_today
u_up_today
u_bonus_yday
u_down_yday
u_up_yday
max_up_speed
max_down_speed
ratio_nulled
u_up_old
u_down_old
u_bonus_old
max_up_speed_old
u_releases
can_leech

На новому рушії:
u_up_release
u_up_bonus
up_today
down_today
up_release_today
up_bonus_today
points_today
up_yesterday
down_yesterday
up_release_yesterday
up_bonus_yesterday
points_yesterday

При можливості варто зв'язати старі колонки з новими.
Я для тих що залишиться треба буде переносити логіку заповнення і використання із сорсів толоки.

@konfuciusu
Copy link
Contributor

Викидаємо:

u_bonus_hourly
max_up_speed
max_down_speed
ratio_nulled
u_up_old
u_down_old
u_bonus_old
max_up_speed_old
u_releases
can_leech

Решта:
u_bonus_total - u_up_bonus
u_bonus_today - up_bonus_today
u_down_today - down_today
u_up_today - up_today
u_bonus_yday - up_bonus_yesterday
u_down_yday - down_yesterday
u_up_yday - up_yesterday

0- u_up_release
0 - up_release_today
0- points_today
0 - up_release_yesterday
0 - points_yesterday

@konfuciusu konfuciusu changed the title Міграція bb_bt_users Міграція статистики завантажень і бонусів Jun 23, 2017
@yukoff yukoff added this to the v3.0.0 milestone Jul 15, 2017
@yukoff yukoff added the ready label Jul 16, 2017
@yukoff yukoff added in progress and removed ready labels Jul 27, 2017
@yukoff yukoff changed the title Міграція статистики завантажень і бонусів Міграція статистики завантажень і бонусів (bb_bt_users) Aug 1, 2017
@yukoff
Copy link
Contributor

yukoff commented Aug 1, 2017

old new
user_id user_id
auth_key auth_key
u_up_total u_up_total
u_bonus_total u_up_bonus
u_down_total u_down_total
u_bonus_today up_bonus_today
u_bonus_hourly -
u_down_today down_today
u_up_today up_today
u_bonus_yday up_bonus_yesterday
u_down_yday down_yesterday
u_up_yday up_yesterday
max_up_speed -
max_down_speed -
ratio_nulled -
u_up_old -
u_down_old -
u_bonus_old -
max_up_speed_old -
u_releases -
can_leech -
0 u_up_release
0 up_release_today
0 points_today
0 up_release_yesterday
0 points_yesterday

@yukoff
Copy link
Contributor

yukoff commented Aug 14, 2017

Цей також доданий до #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants