How do I make it such that I know what field Githu...
# random
d
How do I make it such that I know what field Github is referencing within Repo, and which Repo is referencing within Github. In other words, what am I actually creating that makes the “link” itself. Is it the ID of the user that is stored / fetched in the Repo object?
m
Hey @Dan Fein, 👋 the relation fields are always referencing the id of the related model.
d
Ok so as long as I want a record to be referencable, I need to create an id. Do all id fields need to be of “ID” type, or can they be Int for whatever reason, like incremental IDs?
m
Right now they have to be of type
ID
but i am currently on working bringing support for other types like incremental Ints or UUID.
a
are UUIDs not supported?
m
@arush : that depends on the connector you are using. Reach out to me via DM so we talk through your specific usecase