 -- 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();
+CREATE TRIGGER messages__count_insert_forum_trigger AFTER INSERT ON forums FOR EACH ROW EXECUTE PROCEDURE count_messages_insert_forum_trigger();
 
 
 --



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

ALTER TABLE ONLY message_flags ALTER COLUMN flag_id SET DEFAULT nextval('message_flags_flag_id_seq'::regclass);


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




--
-- Name: messages; Type: TABLE; Schema: cforum; Owner: -; Tablespace: 
--

