product_course

3개 컬럼 · 40 kB

행 수
4
참조하는 테이블
2
이 테이블 → 다른 테이블
참조받는 테이블
0
다른 테이블 → 이 테이블
사용하는 API
0
아직 쓰이지 않음

컬럼

이름타입NULL기본값
idintegerNOT NULLnextval('product_course_id_seq'::regclass)
product_idintegerNOT NULL
course_idintegerNOT NULL

관계

참조함 →

제약 · 인덱스

  • FOREIGN KEY (course_id) REFERENCES course(id) ON DELETE CASCADE
  • FOREIGN KEY (product_id) REFERENCES product(id) ON DELETE CASCADE
  • PRIMARY KEY (id)
  • UNIQUE (product_id, course_id)
  • product_course_pkey
  • product_course_product_id_course_id_key

이 테이블을 쓰는 API (0)

아직 이 테이블을 조회하는 엔드포인트가 없습니다.

샘플 데이터 (최근 5행)

idproduct_idcourse_id
432
331
222
111