git-svn-id: file:///svn/phpbb/trunk@5802 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2006-04-19 04:46:55 +00:00
parent 3e67fe55cb
commit 8893d6f5b3

View file

@ -1178,14 +1178,14 @@ CREATE TABLE phpbb_styles_template_data (
CREATE INDEX phpbb_styles_tmplte_d_tmpl_flnm ON phpbb_styles_template_data(template_filename);;
CREATE INDEX phpbb_styles_tmplte_dt_tmplt_id ON phpbb_styles_template_data(template_id);;
CREATE GENERATOR phpbb_styles_template_data_gen;;
SET GENERATOR phpbb_styles_template_data_gen TO 0;;
CREATE GENERATOR phpbb_styles_templte_data_gen;;
SET GENERATOR phpbb_styles_templte_data_gen TO 0;;
CREATE TRIGGER t_phpbb_styles_templte_data_gen FOR phpbb_styles_template
BEFORE INSERT
AS
BEGIN
NEW.template_id = GEN_ID(phpbb_styles_template_data_gen, 1);
NEW.template_id = GEN_ID(phpbb_styles_templte_data_gen, 1);
END;;