1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[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

@@ -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 (