반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- 이더리움
- cartalyst
- Laravel
- 코로나19
- elasticSearch
- reactnative
- 인민공원
- 소액임금체불
- 코로나
- win32
- 개인사업자
- Eclipse
- 홈택스
- 전자소송
- 체당금
- auth
- Tutorial
- Blade
- Sentinel
- Bootstrap
- 당사자표시정정신청서
- blockchain
- 사업자계좌
- as후기
- 보정명령
- Python
- Java
- javascript
- php
- vue
Archives
- Today
- Total
목록post (1)
그냥 사는 이야기

Post와 Comment 구현 Model App/Post class Post extends Model { protected $guarded = []; public function comments() { return $this->hasMany('App\Comment','on_post'); } public function author() { return $this->belongsTo('App\User','author_id'); } } App/Comment class Comment extends Model { protected $guarded = []; public function author() { return $this->belongsTo('App\User','from_user'); } public fun..
Development/Web
2020. 1. 22. 10:52