Database Design of Online Answering Mini Program

Background introduction

Recently, many friends have consulted on the database collection design of my online answering mini program, and now I have specially written an article to organize it. The mini program currently contains the following ten collections

Database Design

  1. admin
    This collection is mainly used to specify the administrator openid. For some openid, it is open to create test papers and import and export data reports.

  2. category
    This collection is mainly used to set the category of questions, which is the so-called question bank information, such as language, mathematics, English

  3. depts
    This collection is mainly for enterprise users and maintains a dictionary of enterprise department information

  4. favor
    This collection is used to set title favorite record information

  5. history
    This collection is mainly used to record test time, test scores, and candidate information

  6. mediatype
    This collection is defined as a material dictionary, such as text, pictures

  7. The notes
    collection is mainly used to record wrong title records

  8. profiles
    This collection is mainly used to record user information, such as openid, nickname, avatar, and personal related information

  9. question
    This collection is mainly used for question information, the structure of the question is not introduced in this article

  10. questype
    This collection is used to maintain a dictionary of question types, such as single choice, multiple choice, judgment, fill in the blank, and short answer

The topic of the mini program is organized into a primary structure, which is the so-called primary classification. The topic information is directly below the category, and there is no secondary classification.

Follow-up plan

Two articles will be written later. One article introduces the online answering applet for secondary classification, and the other is the database design of the online answering applet for member invitation system.

Scan code experience

 

Guess you like

Origin blog.csdn.net/qq_29528701/article/details/107107404