Database schema design for Tournament Stage and related #124
-
From the bracket-model design Stage - ID, TournamentID... My MSSQL database design Stage - (running) ID, TournamentID... My IDs were implemented with INCREMENT(1,1) in SQL which means the IDs are incremented automatically. Sample Data in DB I have an "issue" that when importing data with
The data I query from The IDs will be reset-ed and started with 0. This is hard for me to update match and match_game. As the Match ID in DB was unmatched with Match ID in Question:
Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Side note: The Tournament Stage in SQL database is based on the data generated from brackets-manager. For each change of Tournament data, I will remove all the Group, Round, Match, MatchGame from database first and next insert the new data. Suggested "trick" refer to: #124 (reply in thread) |
Beta Was this translation helpful? Give feedback.
Side note: The Tournament Stage in SQL database is based on the data generated from brackets-manager. For each change of Tournament data, I will remove all the Group, Round, Match, MatchGame from database first and next insert the new data.
Suggested "trick" refer to: #124 (reply in thread)