mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 06:36:39 +02:00
- oopse
git-svn-id: file:///svn/phpbb/trunk@5802 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -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_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 INDEX phpbb_styles_tmplte_dt_tmplt_id ON phpbb_styles_template_data(template_id);;
|
||||||
|
|
||||||
CREATE GENERATOR phpbb_styles_template_data_gen;;
|
CREATE GENERATOR phpbb_styles_templte_data_gen;;
|
||||||
SET GENERATOR phpbb_styles_template_data_gen TO 0;;
|
SET GENERATOR phpbb_styles_templte_data_gen TO 0;;
|
||||||
|
|
||||||
CREATE TRIGGER t_phpbb_styles_templte_data_gen FOR phpbb_styles_template
|
CREATE TRIGGER t_phpbb_styles_templte_data_gen FOR phpbb_styles_template
|
||||||
BEFORE INSERT
|
BEFORE INSERT
|
||||||
AS
|
AS
|
||||||
BEGIN
|
BEGIN
|
||||||
NEW.template_id = GEN_ID(phpbb_styles_template_data_gen, 1);
|
NEW.template_id = GEN_ID(phpbb_styles_templte_data_gen, 1);
|
||||||
END;;
|
END;;
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user