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

Duplicate tag error #4526

Closed
evyalyy opened this issue Oct 12, 2022 · 0 comments
Closed

Duplicate tag error #4526

evyalyy opened this issue Oct 12, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@evyalyy
Copy link

evyalyy commented Oct 12, 2022

when creating table

CREATE TABLE hero_slot (
	hero_id INTEGER NOT NULL, 
	slot_id INTEGER NOT NULL, 
	equipment_type TEXT NOT NULL, 
	durability INTEGER NOT NULL, 
	condition_unlock TEXT NOT NULL, 
	visual TEXT NOT NULL, 
	CONSTRAINT hero_slot_pkey PRIMARY KEY (hero_id, slot_id), 
	CONSTRAINT hero_slot_fk1 FOREIGN KEY(hero_id) REFERENCES hero (hero_id)
)

Got an error Cannot create column durability, the tag 14653 was already used in table seasonal_missions_slots
Mentioned table is created as follows

CREATE TABLE seasonal_missions_slots (
	type_id INTEGER NOT NULL, 
	id INTEGER NOT NULL, 
	slot_id INTEGER NOT NULL, 
	quests_pool JSON NOT NULL, 
	enabled BOOL NOT NULL, 
	CONSTRAINT seasonal_missions_slots_pkey PRIMARY KEY (type_id, id, slot_id), 
	CHECK (enabled IN (0, 1))
)

Started to get this error only when table seasonal_missions_slots has been added.
Also it's reproduces on both old and new storage formats

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants