Home > Q&A > body text
Laravel data tables are related one-to-one, use hasOne for both data tables? Or should one table use hasOne and the other table use belongsTo?
天蓬老师2017-05-16 16:56:24
One table uses hasOne, one table uses belongsTo