practice

Tables (3)

BlogPosts (Untitled3)

  • id (Key) — Primary key — NOT NULL
  • id (Key2) — Foreign key → Commentable.id — NOT NULL

Commentable (Untitled)

  • id (Key) — Primary key — NOT NULL

Comments (Untitled2)

  • id (Key) — Primary key — NOT NULL
  • foreign_id (Key2) — Foreign key → Commentable.id — NOT NULL