살까말까

테이블 (4)

Category (Untitled2)

  • id (Key) — Integer — 기본 키 — NOT NULL
  • user_id (Key22) — Integer — 외래 키 → Item.user_id — NOT NULL
  • item_id (Key2) — Integer — 외래 키 → Item.id — NOT NULL
  • hashtag (Field) — String
  • created_at (Field2) — Timestamp
  • updated_at (Field3) — Timestamp

FCMToken (CopyOfUntitled2)

  • id (Key) — Integer — 기본 키 — NOT NULL
  • user_id (Key2) — Integer — 외래 키 → User.id — NOT NULL
  • device_token (Field) — String
  • created_at (Field2) — Timestamp
  • updated_at (Field3) — Timestamp

Item (CopyOfUntitled)

  • id (Key) — Integer — 기본 키 — NOT NULL
  • user_id (Key2) — Integer — 외래 키 → User.id — NOT NULL
  • name (Field) — String
  • memo (Field5) — String
  • price (Field4) — Integer
  • status (Field7) — Enum
  • reminder_date (Field6) — Timestamp
  • created_at (Field2) — Timestamp
  • updated_at (Field3) — Timestamp

User (Untitled)

  • id (Key) — Integer — 기본 키 — NOT NULL
  • session_id (Field) — Integer
  • created_at (Field2) — Timestamp
  • updated_at (Field3) — Timestamp