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

Transfer portal #62

Open
mautamu opened this issue May 13, 2022 · 0 comments
Open

Transfer portal #62

mautamu opened this issue May 13, 2022 · 0 comments

Comments

@mautamu
Copy link
Collaborator

mautamu commented May 13, 2022

Story:

As a user, I want to be able to see when someone has joined or new team after elimination so that I can prepare my forces accordingly.

Technical design:

Database:

  • Add table user_updates
  • Add columns id UUID, type ENUM (playing_for, current_team, streak), effective_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP, season integer, day integer, agent Text, from: integer null, to: integer not_null

Rust Risk:

[{
    "player": String,
    "season": Integer,
     "day": Integer,
    "from": Nullable<TeamInfo>,
    "to": TeamInfo,
}]
  • Filter api returns to only include playing_for changes
  • On new team joins (see this), submit a user_update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant