Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
ab633dad
Commit
ab633dad
authored
Aug 16, 2005
by
Dries
Browse files
- Patch
#28986
: fixed Incorrect order of PosgreSQL statements.
parent
b1143365
Changes
1
Hide whitespace changes
Inline
Side-by-side
database/updates.inc
View file @
ab633dad
...
...
@@ -2474,9 +2474,9 @@ function update_137() {
elseif
(
$GLOBALS
[
'db_type'
]
==
'pgsql'
)
{
$ret
[]
=
update_sql
(
"ALTER TABLE
{
locales_source
}
RENAME location TO location_old"
);
$ret
[]
=
update_sql
(
"ALTER TABLE
{
locales_source
}
ADD location varchar(255)"
);
$ret
[]
=
update_sql
(
"UPDATE
{
locales_source
}
SET location = location_old"
);
$ret
[]
=
update_sql
(
"ALTER TABLE
{
locales_source
}
ALTER location SET NOT NULL"
);
$ret
[]
=
update_sql
(
"ALTER TABLE
{
locales_source
}
ALTER location SET DEFAULT ''"
);
$ret
[]
=
update_sql
(
"UPDATE
{
locales_source
}
SET location = location_old"
);
$ret
[]
=
update_sql
(
"ALTER TABLE
{
locales_source
}
DROP location_old"
);
}
return
$ret
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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