catstagram

Tables (3)

Cat

  • id (고양이 식별자) — Primary key — NOT NULL
  • cat_id (고양이 사진 식별자)

Likes

  • id (유저 식별자) — Foreign key → User.id — NOT NULL
  • id (고양이 식별자) — Foreign key → Cat.id — NOT NULL

User

  • id (유저 식별자) — Primary key — NOT NULL
  • name (유저 이름)
  • password (비밀번호)