Timedeal

Tables (6)

Untitled (orders)

  • Key (id) — BIGINT — Primary key — NOT NULL
  • Key (user_id) — BIGINT — Foreign key → Untitled.Key — NOT NULL
  • Field (created_at) — DATETIME
  • Field (status) — ENUM('active' , 'deleted')
  • Field (updated_at) — DATETIME
  • Field (order_status)

Untitled (order_detail)

    Untitled (promotions)

      Untitled (products)

        Untitled (users)

        • Key (id) — BIGINT — Primary key — NOT NULL
        • Field (email) — VARCHAR(50)
        • Field2 (password) — VARCHAR(100)
        • Field (money) — INT
        • Field (name) — VARCHAR(255)
        • Field (total_saved) — INT
        • Field (status) — ENUM('active','deleted')
        • Field (updated_at) — DATETIME
        • Field (created_at) — DATETIME

        Untitled2 (admins)