Skip to content

关于数据库设计存在的问题 #1

@Bowenwu1

Description

@Bowenwu1
  • 餐厅不能以名字作为primary key
  • 订单中菜品为TEXT?
  • 订单菜品与订单之间的关联
  • 用户应分为顾客与商家,其中顾客应该存储的是(user_id, open_id)以及其他相关信息
  • 菜品的primary key未定义
  • 评论应该是某一个用户提出的
  • 库存应该与菜品建立联系(或许这应该是菜品的一个属性)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions