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

505-atualizar-dados-cadastrais-no-perfil-do-usuario #5

Conversation

lthurler
Copy link

@lthurler lthurler commented May 10, 2024

Alteração no UserController ,LoginRepository , UserRegisterRequest para incluir os campos: cidade,estado e discord. Criado uma migrate alter table para incluir os campos no banco de dados.
Tarefa em: SouJunior/products#505

…sers e UserRegisterRequest para incluir os campos: cidade,estado e discord
Copy link

@rigonlucas rigonlucas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Realizar rollback do docker-compose

docker-compose.yml Show resolved Hide resolved
@rigonlucas
Copy link

rigonlucas commented May 13, 2024

@lthurler alguns pontos a serem considerados:

  • coloca o link da task na descrição da tarefa
  • descrever brevemente o que foi realizado

Copy link

@rigonlucas rigonlucas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revisar migrations.
Qualquer coisa me chama que te explico a questão

migrations/2024_01_25_210912_create_users_table.php Outdated Show resolved Hide resolved
migrations/2024_01_25_210912_create_users_table.php Outdated Show resolved Hide resolved
@lthurler lthurler changed the title alteração no UserController ,LoginRepository ,migrate create tabela u… alteração no UserController ,LoginRepository ,migrate create tabela users e UserRegisterRequest para incluir os campos: cidade,estado e discord - Tarefa em: https://github.com/SouJunior/products/issues/505 May 14, 2024
@lthurler lthurler changed the title alteração no UserController ,LoginRepository ,migrate create tabela users e UserRegisterRequest para incluir os campos: cidade,estado e discord - Tarefa em: https://github.com/SouJunior/products/issues/505 Tarefa em: https://github.com/SouJunior/products/issues/505 May 24, 2024
@lthurler lthurler changed the title Tarefa em: https://github.com/SouJunior/products/issues/505 505-atualizar-dados-cadastrais-no-perfil-do-usuario May 24, 2024
@lthurler
Copy link
Author

ok feito

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esse arquivo deveria está nos commits?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quando der um tempo vamos realizar algumas melhorias nele :-)

@@ -0,0 +1 @@
{"openapi":"3.0.0","paths":{"\/index":{"get":{"tags":["\/Index"],"summary":"GET example","operationId":"c7a3e07c42ef883719b986d0d3195666","responses":{"200":{"description":"Description of the returned value","content":{"application\/json":{"schema":[],"example":"{\"code\":200, \"data\":[]}"}}}}}}}}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentação do objeto

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lthurler revisar isso aqui

@lthurler lthurler changed the base branch from master to develop June 11, 2024 15:07
Copy link

@figmateus figmateus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

legit, veja depois apenas os campos que sao obrigatorios e estao como nullables na migration

$table->string('permission')->nullable();
$table->string('cidade', 32);
$table->string('estado', 20);
$table->string('discord',30)->nullable();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

se os campos discord e linkedin sao obrigatorios porque eles podem ser nulos ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boa pergunta.
Essa base da dados já existe, entao usuários anteriores a está feature devem ficar como null

@rigonlucas rigonlucas merged commit b76cbea into SouJunior:develop Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Refinement [UX/UI]
Development

Successfully merging this pull request may close these issues.

4 participants