Shouldn't there always be an Index on the @id fiel...
# orm-help
h
Shouldn't there always be an Index on the @id field? Seems like a lot of my tables in db is missing them... Why?
1
n
As far as I’m aware, an index is automatically created for a primary key. So, that’s why it might not be visible in the DB itself, but as long as the
PRIMARY KEY
is there, you’re safe in that the column has an index as well 👍
h
thx 🙂
🙌 1