 -- Name: threads__count_insert_forum_trigger; Type: TRIGGER; Schema: cforum; Owner: -
 --
 
-CREATE TRIGGER threads__count_insert_forum_trigger AFTER INSERT ON forums FOR EACH STATEMENT EXECUTE PROCEDURE count_threads_insert_forum_trigger();
+CREATE TRIGGER threads__count_insert_forum_trigger AFTER INSERT ON forums FOR EACH ROW EXECUTE PROCEDURE count_threads_insert_forum_trigger();
 
 
 --

-- Name: messages__count_insert_forum_trigger; Type: TRIGGER; Schema: cforum; Owner: -
--

CREATE TRIGGER messages__count_insert_forum_trigger AFTER INSERT ON forums FOR EACH STATEMENT EXECUTE PROCEDURE count_messages_insert_forum_trigger();


--



--
-- Name: message_id; Type: DEFAULT; Schema: cforum; Owner: -
--

