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
08c059ec
Commit
08c059ec
authored
Jul 15, 2007
by
Dries Buytaert
Browse files
- Rollback of patch
#147947
: lacks proper upgrade path.
parent
a771c6c4
Changes
6
Hide whitespace changes
Inline
Side-by-side
modules/aggregator/aggregator.schema
View file @
08c059ec
...
...
@@ -38,7 +38,7 @@ function aggregator_schema() {
'checked'
=>
array
(
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
),
'link'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
255
,
'not null'
=>
TRUE
,
'default'
=>
''
),
'description'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
TRUE
,
'size'
=>
'big'
),
'image'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
TRUE
,
'size'
=>
'
medium
'
),
'image'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
TRUE
,
'size'
=>
'
big
'
),
'etag'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
255
,
'not null'
=>
TRUE
,
'default'
=>
''
),
'modified'
=>
array
(
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
),
'block'
=>
array
(
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
,
'size'
=>
'tiny'
)
...
...
modules/comment/comment.schema
View file @
08c059ec
...
...
@@ -16,7 +16,7 @@ function comment_schema() {
'status'
=>
array
(
'type'
=>
'int'
,
'unsigned'
=>
TRUE
,
'not null'
=>
TRUE
,
'default'
=>
0
,
'size'
=>
'tiny'
),
'format'
=>
array
(
'type'
=>
'int'
,
'size'
=>
'small'
,
'not null'
=>
TRUE
,
'default'
=>
0
),
'thread'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
255
,
'not null'
=>
TRUE
),
'users'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
FALSE
,
'size'
=>
'
medium
'
),
'users'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
FALSE
,
'size'
=>
'
big
'
),
'name'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
60
,
'not null'
=>
FALSE
),
'mail'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
64
,
'not null'
=>
FALSE
),
'homepage'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
255
,
'not null'
=>
FALSE
)
...
...
modules/contact/contact.schema
View file @
08c059ec
...
...
@@ -6,7 +6,7 @@ function contact_schema() {
'fields'
=>
array
(
'cid'
=>
array
(
'type'
=>
'serial'
,
'unsigned'
=>
TRUE
,
'not null'
=>
TRUE
),
'category'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
255
,
'not null'
=>
TRUE
,
'default'
=>
''
),
'recipients'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
TRUE
,
'size'
=>
'
medium
'
),
'recipients'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
TRUE
,
'size'
=>
'
big
'
),
'reply'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
TRUE
,
'size'
=>
'big'
),
'weight'
=>
array
(
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
,
'size'
=>
'tiny'
),
'selected'
=>
array
(
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
,
'size'
=>
'tiny'
)
...
...
modules/search/search.schema
View file @
08c059ec
...
...
@@ -6,7 +6,7 @@ function search_schema() {
'fields'
=>
array
(
'sid'
=>
array
(
'type'
=>
'int'
,
'unsigned'
=>
TRUE
,
'not null'
=>
TRUE
,
'default'
=>
0
),
'type'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
16
,
'not null'
=>
FALSE
),
'data'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
TRUE
,
'size'
=>
'
medium
'
)
'data'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
TRUE
,
'size'
=>
'
big
'
)
),
'indexes'
=>
array
(
'sid_type'
=>
array
(
'sid'
,
'type'
)),
);
...
...
modules/system/system.schema
View file @
08c059ec
...
...
@@ -7,7 +7,7 @@ function system_schema() {
'bid'
=>
array
(
'type'
=>
'serial'
,
'unsigned'
=>
TRUE
,
'not null'
=>
TRUE
),
'token'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
64
,
'not null'
=>
TRUE
),
'timestamp'
=>
array
(
'type'
=>
'int'
,
'not null'
=>
TRUE
),
'batch'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
FALSE
,
'size'
=>
'
medium
'
)
'batch'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
FALSE
,
'size'
=>
'
big
'
)
),
'primary key'
=>
array
(
'bid'
),
'indexes'
=>
array
(
'token'
=>
array
(
'token'
)),
...
...
@@ -146,7 +146,7 @@ function system_schema() {
'hostname'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
128
,
'not null'
=>
TRUE
,
'default'
=>
''
),
'timestamp'
=>
array
(
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
),
'cache'
=>
array
(
'type'
=>
'int'
,
'not null'
=>
TRUE
,
'default'
=>
0
),
'session'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
FALSE
,
'size'
=>
'
medium
'
)
'session'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
FALSE
,
'size'
=>
'
big
'
)
),
'primary key'
=>
array
(
'sid'
),
'indexes'
=>
array
(
...
...
@@ -187,7 +187,7 @@ function system_schema() {
$schema
[
'variable'
]
=
array
(
'fields'
=>
array
(
'name'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
128
,
'not null'
=>
TRUE
,
'default'
=>
''
),
'value'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
TRUE
,
'size'
=>
'
medium
'
),
'value'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
TRUE
,
'size'
=>
'
big
'
),
),
'primary key'
=>
array
(
'name'
),
);
...
...
modules/user/user.schema
View file @
08c059ec
...
...
@@ -27,7 +27,7 @@ function user_schema() {
'fields'
=>
array
(
'pid'
=>
array
(
'type'
=>
'serial'
,
'not null'
=>
TRUE
),
'rid'
=>
array
(
'type'
=>
'int'
,
'unsigned'
=>
TRUE
,
'not null'
=>
TRUE
,
'default'
=>
0
),
'perm'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
FALSE
,
'size'
=>
'
medium
'
),
'perm'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
FALSE
,
'size'
=>
'
big
'
),
'tid'
=>
array
(
'type'
=>
'int'
,
'unsigned'
=>
TRUE
,
'not null'
=>
TRUE
,
'default'
=>
0
)
),
'primary key'
=>
array
(
'pid'
),
...
...
@@ -62,7 +62,7 @@ function user_schema() {
'language'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
12
,
'not null'
=>
TRUE
,
'default'
=>
''
),
'picture'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
255
,
'not null'
=>
TRUE
,
'default'
=>
''
),
'init'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
64
,
'not null'
=>
FALSE
,
'default'
=>
''
),
'data'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
FALSE
,
'size'
=>
'
medium
'
)
'data'
=>
array
(
'type'
=>
'text'
,
'not null'
=>
FALSE
,
'size'
=>
'
big
'
)
),
'indexes'
=>
array
(
'access'
=>
array
(
'access'
),
...
...
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