#ifdef  MSG // 28-11-2006 9:54
/*  $Revision$
 *  $Id$
 */

CREATE_TABLE(msg_message, 0)
(
  msg_message_key
     NUMBER(10) PRIMARY KEY,
  prs_perslid_key
     NUMBER(10)
     REFERENCES prs_perslid(prs_perslid_key) ON DELETE CASCADE,
  msg_message_replykey
     NUMBER(10)
     REFERENCES msg_message(msg_message_key),
  msg_message_oms
     VARCHAR2(4000),
  msg_message_onderwerp
     VARCHAR2(80),
  msg_message_prioriteit
     NUMBER(1) DEFAULT 2,    /* 1=high, 2=normal, 3=low */
  msg_message_url
     VARCHAR2(255),
  msg_message_aanmaak
     DATE
     DEFAULT SYSDATE
);

REGISTERONCE('$Id$')

#endif // MSG
