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
ce7adc62
Commit
ce7adc62
authored
Sep 07, 2006
by
Dries Buytaert
Browse files
- Patch
#82822
by dww and sammys: PostgreSQL fixes.
parent
4ea672bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/system/system.install
View file @
ce7adc62
...
...
@@ -3155,17 +3155,22 @@ function system_update_1005() {
break
;
case
'pgsql'
:
// add new unsigned types for pgsql
$ret
[]
=
update_sql
(
"CREATE DOMAIN int_unsigned integer CHECK (VALUE >= 0)"
);
$ret
[]
=
update_sql
(
"CREATE DOMAIN smallint_unsigned smallint CHECK (VALUE >= 0)"
);
$ret
[]
=
update_sql
(
"CREATE DOMAIN bigint_unsigned bigint CHECK (VALUE >= 0)"
);
$ret
[]
=
update_sql
(
"CREATE TABLE
{
node_type
}
(
type varchar(32) NOT NULL,
name varchar(255) NOT NULL,
module varchar(255) NOT NULL,
description text NOT NULL,
help text NOT NULL,
has_title
integer
unsigned NOT NULL,
has_title
smallint_
unsigned NOT NULL,
title_label varchar(255) NOT NULL default '',
has_body
integer
unsigned NOT NULL,
has_body
smallint_
unsigned NOT NULL,
body_label varchar(255) NOT NULL default '',
min_word_count
integer
unsigned NOT NULL,
min_word_count
smallint_
unsigned NOT NULL,
custom smallint NOT NULL DEFAULT '0',
modified smallint NOT NULL DEFAULT '0',
locked smallint NOT NULL DEFAULT '0',
...
...
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