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

fix: remove constraint 'guildwar_kills_unique' from 'guildwar_kills' table #1968

Merged
merged 5 commits into from
Dec 9, 2023

Conversation

luanluciano93
Copy link
Contributor

@luanluciano93 luanluciano93 commented Dec 4, 2023

A coluna "warid" da tabela "guildwar_kills" não pode definida como UNIQUE, pois a cada morte de um jogador que esteja naquela war (warid) terá uma nova entrada com aquele war id.

image

ALTER TABLE guildwar_kills DROP INDEX guildwar_kills_unique;

@elsongabriel elsongabriel changed the title fix: duplicate entry '1' for key 'guildwar_kills_unique' fix: remove constraint 'guildwar_kills_unique' from guildwar_kills table Dec 4, 2023
@elsongabriel elsongabriel changed the title fix: remove constraint 'guildwar_kills_unique' from guildwar_kills table fix: remove constraint 'guildwar_kills_unique' from 'guildwar_kills' table Dec 4, 2023
@luan luan merged commit 56f4fb2 into opentibiabr:main Dec 9, 2023
10 checks passed
@luanluciano93 luanluciano93 deleted the fixWarSystem branch December 11, 2023 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants