SQLSTATE[42S21]: Column already exists: 1060 Duplicate columns (SQL: alter table add ba991652-3d5b-11ef-95d4-d09466cdd838 char(36) not null, add varchar(255) null, add bigint unsigned not null, add tinyint(1) not null default '0', add tinyint(1) not null default '0')#162
Open
antoniosousa wants to merge 1 commit intomasterfrom
Open
SQLSTATE[42S21]: Column already exists: 1060 Duplicate columns (SQL: alter table add ba991652-3d5b-11ef-95d4-d09466cdd838 char(36) not null, add varchar(255) null, add bigint unsigned not null, add tinyint(1) not null default '0', add tinyint(1) not null default '0')#162antoniosousa wants to merge 1 commit intomasterfrom
antoniosousa wants to merge 1 commit intomasterfrom
Conversation
…alter table add ba991652-3d5b-11ef-95d4-d09466cdd838 char(36) not null, add varchar(255) null, add bigint unsigned not null, add tinyint(1) not null default '0', add tinyint(1) not null default '0')
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Não se esqueça de adicionar as mudanças na release
Qual problema esse Pull Request aborda?
A ultima migração feita impacta no hub, pois as colunas adicionadas já existem no hub.
Qual solução foi aplicada?
foi colocado uma exceção em cada coluna para verificar se existe, e só criarem caso não existem.
Card(s) da tarefa
[Cole aqui o link do card relacionado a esse problema]
Grau de urgência
Esse Pull Request deverá aguardar para ser mergeado?
É necessário executar alguma etapa após o Pull Request ser mergeado?
Footnotes
Utilize grau de urgência baixo para alterações que podem ser revisadas no mesmo dia. ↩
Utilize grau de urgência alto para alterações que devem ser revisadas o quanto antes. ↩
Utilize a opção "Sim" para casos em que o merge das alterações trouxerem algum tipo de risco para a aplicação naquele momento. ↩