Mercurial > packages > magicforger
diff src/Generator/Model/stubs/model.pivot.stub @ 23:827efbf4d73c main-dev
Huge changes to the relationships for models and more complex
| author | Luka Sitas <sitas.luka.97@gmail.com> |
|---|---|
| date | Fri, 11 Apr 2025 20:50:20 -0400 |
| parents | b0b2e79ad8e6 |
| children | 31109c61ce02 |
line wrap: on
line diff
--- a/src/Generator/Model/stubs/model.pivot.stub Wed Feb 26 20:12:17 2025 -0500 +++ b/src/Generator/Model/stubs/model.pivot.stub Fri Apr 11 20:50:20 2025 -0400 @@ -10,12 +10,22 @@ /** * Indicates if the model should be timestamped. - * By default our pivots will not use timestamps + * By default our pivots will not use timestamps * * @var bool */ public $timestamps = false; + //relations + + // BelongsTo + # {{ belongs_to_relationships }} + + // HasMany + # {{ has_may_relationships }} + + // HasManyThrough + # {{ has_many_through_relationships }} }
