A one-to-one relationship is a very basic relation. For example, a User model might have one Phone . We can define this relation in Eloquent:.
確定! 回上一頁