survey

Tables (4)

Answer (Untitled3)

  • answerId (Key) — Primary key — NOT NULL
  • surveyId (Key2) — Foreign key → Survey.surveyId — NOT NULL
  • userId (Key3) — Foreign key → User.userId — NOT NULL
  • questionId (Key4) — Foreign key → Question.questionId — NOT NULL

Question (Untitled2)

  • questionId (Key) — Primary key — NOT NULL
  • content (Field)
  • question_type (Field2)
  • surveyId (Key2) — Foreign key → Survey.surveyId — NOT NULL

Survey (Untitled)

  • surveyId (Key) — Primary key — NOT NULL
  • title (Field)
  • description (Field2)

User (Untitled4)

  • userId (Key) — Primary key — NOT NULL
  • name (Field)
  • email (Field2)
  • surveyId (Key2) — Foreign key → Survey.surveyId — NOT NULL