-- Foreign Key

-- 秘密の質問
-- ALTER TABLE t_trial_member DROP CONSTRAINT t_trial_member_secquestioncd_fkey;

ALTER TABLE t_trial_member
  ADD CONSTRAINT t_trial_member_secquestioncd_fkey FOREIGN KEY (secquestioncd)
      REFERENCES t_sec_question (secquestioncd);


