41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
#ifdef WEB // 03-11-2000 PF
|
|
/* WEB_TAB.SRC
|
|
* $Revision$
|
|
* $Id$
|
|
*/
|
|
|
|
|
|
CREATE_TABLE(web_user_messages, 0)
|
|
(
|
|
web_user_message_key
|
|
NUMBER(10)
|
|
CONSTRAINT web_k_user_message_key PRIMARY KEY,
|
|
fac_srtnotificatie_key
|
|
NUMBER(10)
|
|
REFERENCES fac_srtnotificatie(fac_srtnotificatie_key),
|
|
prs_perslid_key_sender
|
|
NUMBER(10)
|
|
CONSTRAINT web_mess_send_prs_perslid_key REFERENCES prs_perslid(prs_perslid_key) ON DELETE CASCADE,
|
|
prs_perslid_key_receiver
|
|
NUMBER(10)
|
|
CONSTRAINT web_mess_rec_prs_perslid_key REFERENCES prs_perslid(prs_perslid_key) ON DELETE CASCADE,
|
|
web_user_mess_dsc
|
|
VARCHAR2(512)
|
|
CONSTRAINT web_c_web_mes_dsc NOT NULL,
|
|
web_user_mess_action_soort
|
|
CHAR(1),
|
|
web_user_mess_action_status
|
|
CHAR(1),
|
|
web_user_mess_action_params
|
|
VARCHAR2(255),
|
|
web_user_mess_prioriteit
|
|
NUMBER(1) DEFAULT 2, /* 1=high, 2=normal, 3=low */
|
|
web_user_mess_action_datum
|
|
DATE
|
|
DEFAULT SYSDATE
|
|
);
|
|
|
|
REGISTERONCE('$Id$')
|
|
|
|
#endif // WEB
|