Database design - Approach for storing points for users

前端 未结 4 1612
天命终不由人
天命终不由人 2021-01-03 09:40

Just looking for some suggestions on how to approach the database design for this.

On my site a user can get points for performing different activities. Currently th

4条回答
  •  抹茶落季
    2021-01-03 09:54

    If you do want to be able to trace the action back to a row in the store or answers table, add a fourth column, which is the pk entry for the row that action added.

提交回复
热议问题