Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
304
Merge Requests
304
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
ac3b446e
Commit
ac3b446e
authored
Dec 08, 2005
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#40341
by Cvbge: corrected the default column value.
parent
e6b78e28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
update.php
update.php
+2
-2
No files found.
update.php
View file @
ac3b446e
...
...
@@ -177,12 +177,12 @@ function update_fix_schema_version() {
switch
(
$GLOBALS
[
'db_type'
])
{
case
'pgsql'
:
$ret
=
array
();
db_add_column
(
$ret
,
'system'
,
'schema_version'
,
'smallint'
,
array
(
'not null'
=>
TRUE
,
'default'
=>
1
));
db_add_column
(
$ret
,
'system'
,
'schema_version'
,
'smallint'
,
array
(
'not null'
=>
TRUE
,
'default'
=>
0
));
break
;
case
'mysql'
:
case
'mysqli'
:
db_query
(
'ALTER TABLE {system} ADD schema_version smallint(2) unsigned not null'
);
db_query
(
'ALTER TABLE {system} ADD schema_version smallint(2) unsigned not null
default 0
'
);
break
;
}
...
...
Write
Preview
Markdown
is supported
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