I tried to delete a tag without a synonym and received a error that this tag cant be deleted for having a synonym. I try to look into the database, found no table use for synonym.
I tried to delete a tag without a synonym and received a error that this tag cant be deleted for having a synonym. I try to look into the database, found no table use for synonym.
Make sure there are no synonyms here right?
The tag's synonym save by main_tag_id
column in tag
table. For example, the golang
have a synonym called go
, it means the go
tag's main_tag_id
is golang
tag's id.
you can follow the steps below to check whether the data query is correct.If /answer/api/v1/tag/synonyms?tag_id=XXX
api returns data, it means that there are synonyms, if not, it may be that our database may have compatibility issues