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

Adicionar tabela de chaveamento #103

Closed
5 tasks
Tracked by #33
KozielGPC opened this issue May 5, 2023 · 0 comments · Fixed by #143
Closed
5 tasks
Tracked by #33

Adicionar tabela de chaveamento #103

KozielGPC opened this issue May 5, 2023 · 0 comments · Fixed by #143
Assignees
Labels
backend Backend
Milestone

Comments

@KozielGPC
Copy link
Owner

KozielGPC commented May 5, 2023

História de Usuário Relacionada

Descrição Detalhada

Deve-se adicionar a tabela para salvar o chaveamento gerado no campeonato e as rotas de CRUD

Informações Adicionais

sugestoes de nome da tabela: partidas, match
A tabela deve ter a seguinte estrutura:

nome_campo tipo de dado
id int, primary key
championship_id relacionamento com championships
team1_id relacionamento com teams
team2_id relacionamento com teams
round int
brackets int
team_winner_id relacionamento com teams

image

lembrando que o resultado sempre vai iniciar como null, após a futura função avançar etapa que iremos fazer que será atribuido um id para o resultado.

pode mudar o nome dos atributos.

Requerimentos da Tarefa

  • adicionar tabela
  • tabela possui todos os campos
  • os relacionamentos estão funcionando corretamente
  • adicionar crud
  • atualizar changelog

Possível Implementação

@KozielGPC KozielGPC added the backend Backend label May 5, 2023
@KozielGPC KozielGPC mentioned this issue May 5, 2023
3 tasks
@KozielGPC KozielGPC added this to the 2º Release milestone May 8, 2023
@Reginaldo-Neto Reginaldo-Neto self-assigned this May 26, 2023
Reginaldo-Neto added a commit that referenced this issue May 31, 2023
…so criar um "championship has matches", é preciso analisar melhor
Reginaldo-Neto added a commit that referenced this issue Jun 7, 2023
@Reginaldo-Neto Reginaldo-Neto linked a pull request Jun 15, 2023 that will close this issue
7 tasks
KozielGPC added a commit that referenced this issue Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants