-- -- The Notifications Package -- -- ben@openforce.net -- Copyright OpenForce, 2002. -- -- GNU GPL v2 -- -- -- The queue of messages coming back -- create table notification_replies ( reply_id integer not null constraint notif_repl_repl_id_fk references acs_objects(object_id) constraint notif_repl_repl_id_pk primary key, object_id integer not null constraint notif_repl_obj_id_fk references acs_objects(object_id), type_id integer not null constraint notif_repl_type_id_fk references notification_types(type_id), from_user integer not null constraint notif_repl_from_fk references users(user_id), subject varchar(100), content clob, reply_date date ); declare begin acs_object_type.create_type ( supertype => 'acs_object', object_type => 'notification_reply', pretty_name => 'Notification Reply', pretty_plural => 'Notification Replies', table_name => 'notification_replies', id_column => 'reply_id', package_name => 'notification_reply' ); end; / show errors