 -- 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: message_flags_pkey; Type: CONSTRAINT; Schema: cforum; Owner: -; Tablespace: 
--

ALTER TABLE ONLY message_flags
    ADD CONSTRAINT message_flags_pkey PRIMARY KEY (flag_id);


--
-- Name: messages_pkey; Type: CONSTRAINT; Schema: cforum; Owner: -; Tablespace: 
--




--
-- Name: parent_id_fkey; Type: FK CONSTRAINT; Schema: cforum; Owner: -
--

