mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:48:53 +00:00
[feature/extension-manager] Remove the ext_active index for lack of specificity
PHPBB3-10323
This commit is contained in:
parent
c6fd8d9c9b
commit
60ad0e21b5
9 changed files with 2 additions and 14 deletions
|
@ -1038,7 +1038,6 @@ function get_schema_struct()
|
||||||
),
|
),
|
||||||
'KEYS' => array(
|
'KEYS' => array(
|
||||||
'ext_name' => array('UNIQUE', 'ext_name'),
|
'ext_name' => array('UNIQUE', 'ext_name'),
|
||||||
'ext_active' => array('INDEX', 'ext_active'),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -1063,7 +1063,6 @@ function database_update_info()
|
||||||
),
|
),
|
||||||
'KEYS' => array(
|
'KEYS' => array(
|
||||||
'ext_name' => array('UNIQUE', 'ext_name'),
|
'ext_name' => array('UNIQUE', 'ext_name'),
|
||||||
'ext_active' => array('INDEX', 'ext_active'),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -288,7 +288,6 @@ CREATE TABLE phpbb_ext (
|
||||||
);;
|
);;
|
||||||
|
|
||||||
CREATE UNIQUE INDEX phpbb_ext_ext_name ON phpbb_ext(ext_name);;
|
CREATE UNIQUE INDEX phpbb_ext_ext_name ON phpbb_ext(ext_name);;
|
||||||
CREATE INDEX phpbb_ext_ext_active ON phpbb_ext(ext_active);;
|
|
||||||
|
|
||||||
# Table: 'phpbb_extensions'
|
# Table: 'phpbb_extensions'
|
||||||
CREATE TABLE phpbb_extensions (
|
CREATE TABLE phpbb_extensions (
|
||||||
|
|
|
@ -370,9 +370,6 @@ GO
|
||||||
CREATE UNIQUE INDEX [ext_name] ON [phpbb_ext]([ext_name]) ON [PRIMARY]
|
CREATE UNIQUE INDEX [ext_name] ON [phpbb_ext]([ext_name]) ON [PRIMARY]
|
||||||
GO
|
GO
|
||||||
|
|
||||||
CREATE INDEX [ext_active] ON [phpbb_ext]([ext_active]) ON [PRIMARY]
|
|
||||||
GO
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Table: 'phpbb_extensions'
|
Table: 'phpbb_extensions'
|
||||||
|
|
|
@ -195,8 +195,7 @@ CREATE TABLE phpbb_drafts (
|
||||||
CREATE TABLE phpbb_ext (
|
CREATE TABLE phpbb_ext (
|
||||||
ext_name varbinary(255) DEFAULT '' NOT NULL,
|
ext_name varbinary(255) DEFAULT '' NOT NULL,
|
||||||
ext_active tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
ext_active tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
UNIQUE ext_name (ext_name),
|
UNIQUE ext_name (ext_name)
|
||||||
KEY ext_active (ext_active)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -195,8 +195,7 @@ CREATE TABLE phpbb_drafts (
|
||||||
CREATE TABLE phpbb_ext (
|
CREATE TABLE phpbb_ext (
|
||||||
ext_name varchar(255) DEFAULT '' NOT NULL,
|
ext_name varchar(255) DEFAULT '' NOT NULL,
|
||||||
ext_active tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
ext_active tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
UNIQUE ext_name (ext_name),
|
UNIQUE ext_name (ext_name)
|
||||||
KEY ext_active (ext_active)
|
|
||||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -417,8 +417,6 @@ CREATE TABLE phpbb_ext (
|
||||||
)
|
)
|
||||||
/
|
/
|
||||||
|
|
||||||
CREATE INDEX phpbb_ext_ext_active ON phpbb_ext (ext_active)
|
|
||||||
/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Table: 'phpbb_extensions'
|
Table: 'phpbb_extensions'
|
||||||
|
|
|
@ -321,7 +321,6 @@ CREATE TABLE phpbb_ext (
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE UNIQUE INDEX phpbb_ext_ext_name ON phpbb_ext (ext_name);
|
CREATE UNIQUE INDEX phpbb_ext_ext_name ON phpbb_ext (ext_name);
|
||||||
CREATE INDEX phpbb_ext_ext_active ON phpbb_ext (ext_active);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Table: 'phpbb_extensions'
|
Table: 'phpbb_extensions'
|
||||||
|
|
|
@ -193,7 +193,6 @@ CREATE TABLE phpbb_ext (
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE UNIQUE INDEX phpbb_ext_ext_name ON phpbb_ext (ext_name);
|
CREATE UNIQUE INDEX phpbb_ext_ext_name ON phpbb_ext (ext_name);
|
||||||
CREATE INDEX phpbb_ext_ext_active ON phpbb_ext (ext_active);
|
|
||||||
|
|
||||||
# Table: 'phpbb_extensions'
|
# Table: 'phpbb_extensions'
|
||||||
CREATE TABLE phpbb_extensions (
|
CREATE TABLE phpbb_extensions (
|
||||||
|
|
Loading…
Add table
Reference in a new issue