test

Tables (3)

question

  • question_id — bigint — NOT NULL
  • q_subject — varchar — NOT NULL
  • q_context — text — NOT NULL
  • q_recomend_cnt — varchar
  • q_user_id — bigint — NOT NULL
  • q_reply_id — bitint — NOT NULL
  • q_created_at — timestamp — NOT NULL

reply

  • reply_id — bigint — NOT NULL
  • r_user_id — bigint — NOT NULL
  • r_context — text — NOT NULL
  • r_recommend_cnt — varchar
  • r_created_at — timestamp — NOT NULL
  • question_id — bigint — NOT NULL

users

  • user_id — bigint — NOT NULL — ddss
  • email — varchar — NOT NULL
  • activated — bool — NOT NULL
  • reputation_score — varchar — NOT NULL
  • created_at — timestamp — NOT NULL
  • user_level — numeric(1-3) — NOT NULL
  • user_status — enum — NOT NULL