Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
df974508
Commit
df974508
authored
Apr 24, 2004
by
Dries Buytaert
Browse files
- Patch
#7286
by LiDave: improved filter table indices. I updated database/updates.inc as well.
parent
33eb82e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
database/database.mysql
View file @
df974508
...
...
@@ -174,7 +174,7 @@ CREATE TABLE feed (
CREATE TABLE filters (
module varchar(64) NOT NULL default '',
weight tinyint(2) DEFAULT '0' NOT NULL,
KEY
weight (weight
)
KEY
module (module
)
) TYPE=MyISAM;
--
...
...
database/database.pgsql
View file @
df974508
...
...
@@ -173,7 +173,7 @@ CREATE TABLE feed (
CREATE TABLE filters (
module varchar(64) NOT NULL default '',
weight smallint DEFAULT '0' NOT NULL,
PRIMARY KEY (
weight
)
PRIMARY KEY (
module
)
);
--
...
...
database/updates.inc
View file @
df974508
...
...
@@ -747,7 +747,7 @@ function update_78() {
$ret
[]
=
update_sql
(
"CREATE TABLE
{
filters
}
(
module varchar(64) NOT NULL default '',
weight tinyint(2) DEFAULT '0' NOT NULL,
KEY
weight (weight
)
KEY
module (module
)
)"
);
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment