'Consciousness' is just a synonym for self-aware. Goldfish are not self-aware.
Another fish, the cleaner wrasse, can apparently recognise itself in the mirror, hinting at some for of self-awareness.
https://www.nationalgeographic.com/animals/article/fish-clea...
That said, I'm not able to verify from a brief search for consciousness and self-awareness that the two are synonyms. The two seem to be related but are treated differently from one another. Furthermore it's not even clear whether goldfish are conscious or self-aware. Seems like it's an open question.