Add has_one
paulcsmith opened this issue · 1 comments
paulcsmith commented
Similar to has_many, but calls first
or first?
depending on if it is nilable or not
class User < BaseModel
table :users do
has_one sign_in_credential : SignInCredential
end
end
paulcsmith commented
@mikeeus if you finish up the other one, this could be a good issue as well. Up to you though of course :)