본문 바로가기

그냥 사는 이야기

검색하기
그냥 사는 이야기
프로필사진 없다캐라

  • 분류 전체보기 (187)
    • Development (4)
      • 개발언어 (15)
      • System (29)
      • Web (31)
      • App (5)
      • 기타 (19)
    • IT (19)
      • Solopreneur (1)
    • 잡담 (45)
      • 미드/영화 (5)
      • 여행 (6)
      • 자동차 (6)
      • 책 (1)
Guestbook
반응형
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • Sentinel
  • 당사자표시정정신청서
  • Bootstrap
  • Python
  • 코로나
  • auth
  • cartalyst
  • 홈택스
  • 개인사업자
  • 보정명령
  • Laravel
  • 체당금
  • as후기
  • 이더리움
  • Tutorial
  • 코로나19
  • elasticSearch
  • blockchain
  • 전자소송
  • php
  • vue
  • 소액임금체불
  • reactnative
  • Eclipse
  • Java
  • 인민공원
  • win32
  • Blade
  • 사업자계좌
  • javascript
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록comment (1)

그냥 사는 이야기

Laravel 5.3 Blog System - Post And Comments

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
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바