You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To accommodate the new standings data coming from the LoLEsports API, we need to expand our database structure. This data includes additional details such as team scores, tournament splits, seasons, stages, and more. This requires the creation of new tables and modification of existing ones to ensure we can store and retrieve this data efficiently while avoiding data duplication.
Use Case
The use case for this feature is to store the new standings data coming from the LoLEsports API. This data is crucial for providing users with up-to-date information about team standings and match results. This will enhance the user experience by providing a more comprehensive view of the tournament progress.
Proposed Solution
To accommodate the new standings data, we need to create the following new tables:
scores
tournament_split
season
season_splits
stages
sections
rankings
teams_rankings
rounds
round_matches
In addition, it's necessary to add a new column, season_id, to the existing tournament table.
Each of these tables is designed to hold a specific piece of the standings data coming from the API. For instance, the scores table will hold the scores data, which includes team_id, split_id, position, and points. The tournament_split table will hold data about the splits in each tournament. The season table will hold data about the seasons, and so on.
By creating these new tables and adding a new column to the tournament table, we can store the new standings data in a structured and efficient manner. The use of foreign keys ensures data integrity and consistency across tables.
To see the an example of the JSOn, you can make a GET request to the getStandingV3 endpoint of the LoLEsports API.
The proposed solution aims to avoid data duplication. The new tables are designed to link to existing tables wherever possible. For instance, the scores table includes a foreign key to the team and tournament_split tables, ensuring that team and split data are not duplicated in the scores table.
Possible Alternatives
Possible alternatives to this proposed solution and their potential advantages and disadvantages could be discussed further.
Priority
The priority level for this feature request is high due to the importance of the standings data for users.
The text was updated successfully, but these errors were encountered:
Feature Request
Description
To accommodate the new standings data coming from the LoLEsports API, we need to expand our database structure. This data includes additional details such as team scores, tournament splits, seasons, stages, and more. This requires the creation of new tables and modification of existing ones to ensure we can store and retrieve this data efficiently while avoiding data duplication.
Use Case
The use case for this feature is to store the new standings data coming from the LoLEsports API. This data is crucial for providing users with up-to-date information about team standings and match results. This will enhance the user experience by providing a more comprehensive view of the tournament progress.
Proposed Solution
To accommodate the new standings data, we need to create the following new tables:
In addition, it's necessary to add a new column, season_id, to the existing tournament table.
Each of these tables is designed to hold a specific piece of the standings data coming from the API. For instance, the scores table will hold the scores data, which includes team_id, split_id, position, and points. The tournament_split table will hold data about the splits in each tournament. The season table will hold data about the seasons, and so on.
By creating these new tables and adding a new column to the tournament table, we can store the new standings data in a structured and efficient manner. The use of foreign keys ensures data integrity and consistency across tables.
Here is the DDL for the new tables:
Additional Context
To see the an example of the JSOn, you can make a GET request to the getStandingV3 endpoint of the LoLEsports API.
The proposed solution aims to avoid data duplication. The new tables are designed to link to existing tables wherever possible. For instance, the scores table includes a foreign key to the team and tournament_split tables, ensuring that team and split data are not duplicated in the scores table.
Possible Alternatives
Possible alternatives to this proposed solution and their potential advantages and disadvantages could be discussed further.
Priority
The priority level for this feature request is high due to the importance of the standings data for users.
The text was updated successfully, but these errors were encountered: