[feature/extension-manager] Remove the ext_active index for lack of specificity

PHPBB3-10323
This commit is contained in:
Nils Adermann 2011-08-21 03:06:56 -04:00
parent c6fd8d9c9b
commit 60ad0e21b5
9 changed files with 2 additions and 14 deletions

View file

@ -1038,7 +1038,6 @@ function get_schema_struct()
),
'KEYS' => array(
'ext_name' => array('UNIQUE', 'ext_name'),
'ext_active' => array('INDEX', 'ext_active'),
),
);

View file

@ -1063,7 +1063,6 @@ function database_update_info()
),
'KEYS' => array(
'ext_name' => array('UNIQUE', 'ext_name'),
'ext_active' => array('INDEX', 'ext_active'),
),
),
),

View file

@ -288,7 +288,6 @@ CREATE TABLE phpbb_ext (
);;
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'
CREATE TABLE phpbb_extensions (

View file

@ -370,9 +370,6 @@ GO
CREATE UNIQUE INDEX [ext_name] ON [phpbb_ext]([ext_name]) ON [PRIMARY]
GO
CREATE INDEX [ext_active] ON [phpbb_ext]([ext_active]) ON [PRIMARY]
GO
/*
Table: 'phpbb_extensions'

View file

@ -195,8 +195,7 @@ CREATE TABLE phpbb_drafts (
CREATE TABLE phpbb_ext (
ext_name varbinary(255) DEFAULT '' NOT NULL,
ext_active tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
UNIQUE ext_name (ext_name),
KEY ext_active (ext_active)
UNIQUE ext_name (ext_name)
);

View file

@ -195,8 +195,7 @@ CREATE TABLE phpbb_drafts (
CREATE TABLE phpbb_ext (
ext_name varchar(255) DEFAULT '' NOT NULL,
ext_active tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
UNIQUE ext_name (ext_name),
KEY ext_active (ext_active)
UNIQUE ext_name (ext_name)
) CHARACTER SET `utf8` COLLATE `utf8_bin`;

View file

@ -417,8 +417,6 @@ CREATE TABLE phpbb_ext (
)
/
CREATE INDEX phpbb_ext_ext_active ON phpbb_ext (ext_active)
/
/*
Table: 'phpbb_extensions'

View file

@ -321,7 +321,6 @@ CREATE TABLE phpbb_ext (
);
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'

View file

@ -193,7 +193,6 @@ CREATE TABLE phpbb_ext (
);
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'
CREATE TABLE phpbb_extensions (