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

Realizar mudança do campo lang no modelo DOI para relacionamento FK com modelo Language #458

Open
2 tasks
samuelveigarangel opened this issue May 17, 2024 · 0 comments
Assignees

Comments

@samuelveigarangel
Copy link
Collaborator

Descrição da tarefa

No modelo DOI, existe um campo chamado lang (CharField). No projeto, já há um modelo que representa os idiomas. Deve-se alterar esse campo para um relacionamento FK com o modelo Language. No arquivo de migração, crie um script para transferir os dados do campo lang para o novo relacionamento.

  • Realizar a mudança do campo
  • Criar testes para validar esta mudança
@samuelveigarangel samuelveigarangel self-assigned this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant