Tag:mysql表设计
Article From:https://segmentfault.com/q/1010000012146332
Question:

30There are many basic items, each with a state, a memo, and a picture. The three option, how to design the sub table is reasonable.

Answer 0:

Because my data only needs to be archived, and queries are thrown directly to the front end.
Each item is then three fields. So I put three fields in each item
{"status":"1","remark":"Everything is normal, "pictrue": "\/data\/picture\/17\/11\/24\/151150996683270.jpg"}.

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *