diff --git a/MSG/.gitignore b/MSG/.gitignore deleted file mode 100644 index e69de29b..00000000 diff --git a/MSG/MSG_IND.SRC b/MSG/MSG_IND.SRC new file mode 100644 index 00000000..0088b523 --- /dev/null +++ b/MSG/MSG_IND.SRC @@ -0,0 +1,7 @@ +#ifdef MSG + +/* $Revision: 1 $ + * $Modtime: 28-11-06 10:15 $ + */ + +#endif // MSG \ No newline at end of file diff --git a/MSG/MSG_INI.SRC b/MSG/MSG_INI.SRC new file mode 100644 index 00000000..c34ee64b --- /dev/null +++ b/MSG/MSG_INI.SRC @@ -0,0 +1,9 @@ +#ifdef MSG + +/* $Revision: 1 $ + * $Modtime: 28-11-06 10:15 $ + */ + +_FAC_MODULE('MSG','Facilitor Messenger') + +#endif // MSG diff --git a/MSG/MSG_PAC.SRC b/MSG/MSG_PAC.SRC new file mode 100644 index 00000000..06775efa --- /dev/null +++ b/MSG/MSG_PAC.SRC @@ -0,0 +1,7 @@ +#ifdef MSG + +/* $Revision: 1 $ + * $Modtime: 28-11-06 9:57 $ + */ + +#endif // MSG diff --git a/MSG/MSG_SEQ.SRC b/MSG/MSG_SEQ.SRC new file mode 100644 index 00000000..a0deab00 --- /dev/null +++ b/MSG/MSG_SEQ.SRC @@ -0,0 +1,9 @@ +#ifdef MSG // 28-11-2006 10:01 + +/* $Revision: 1 $ + * $Modtime: 28-11-06 9:56 $ + */ + +CREATE SEQUENCE msg_s_msg_message_key MINVALUE 1; + +#endif // MSG diff --git a/MSG/MSG_TAB.SRC b/MSG/MSG_TAB.SRC new file mode 100644 index 00000000..85db3e1c --- /dev/null +++ b/MSG/MSG_TAB.SRC @@ -0,0 +1,27 @@ +#ifdef MSG // 28-11-2006 9:54 + +/* $Revision: 1 $ + * $Modtime: 28-11-06 9:49 $ + */ + +#include "comsql.h" + +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(2000), + msg_message_aanmaak + DATE + DEFAULT SYSDATE +); + + +#endif // MSG \ No newline at end of file diff --git a/MSG/MSG_TRI.SRC b/MSG/MSG_TRI.SRC new file mode 100644 index 00000000..37c59bfc --- /dev/null +++ b/MSG/MSG_TRI.SRC @@ -0,0 +1,17 @@ +#ifdef MSG // 28-11-2006 10:02 + +/* $Revision: 1 $ + * $Modtime: 28-11-06 9:57 $ + */ + +#include "comsql.h" + +CREATE_TRIGGER(msg_t_msg_message_B_IU) +BEFORE INSERT OR UPDATE ON msg_message +FOR EACH ROW +BEGIN + UPDATE_PRIMARY_KEY(msg_message_key, msg_s_msg_message_key); +END; +/ + +#endif // MSG diff --git a/MSG/MSG_VIE.SRC b/MSG/MSG_VIE.SRC new file mode 100644 index 00000000..06775efa --- /dev/null +++ b/MSG/MSG_VIE.SRC @@ -0,0 +1,7 @@ +#ifdef MSG + +/* $Revision: 1 $ + * $Modtime: 28-11-06 9:57 $ + */ + +#endif // MSG