seminar

Tables (3)

Like (Untitled3)

  • id (Key) — Primary key — NOT NULL
  • post_id (Key2) — BIGINT — Foreign key → Post.id — NOT NULL
  • user_id (Key3) — BIGINT — Foreign key → Users.id — NOT NULL
  • created_at (Field) — DATETIME
  • updated_at (Field2) — DATETIME

Post (Untitled)

  • id (Key) — BIGINT — Primary key — NOT NULL
  • title (Field) — VARCHAR
  • content (Field2) — VARCHAR
  • created_at (Field3) — DATETIME
  • updated_at (Field4) — DATETIME
  • deleted_at (Field5) — DATETIME
  • user_id (Key2) — BIGINT — Foreign key → Users.id — NOT NULL

Users (Untitled2)

  • id (Key) — BIGINT — Primary key — NOT NULL
  • nickname (Field) — VARCHAR
  • email (Field2) — VARCHAR