mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
- oopse
git-svn-id: file:///svn/phpbb/trunk@5802 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
3e67fe55cb
commit
8893d6f5b3
1 changed files with 3 additions and 3 deletions
|
@ -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;;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue