- Rollback of patch #147947: lacks proper upgrade path.

6.x
Dries Buytaert 2007-07-15 10:09:21 +00:00
parent a771c6c45a
commit 08c059ec77
6 changed files with 9 additions and 9 deletions

View File

@ -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')

View File

@ -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)

View File

@ -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')

View File

@ -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')),
);

View File

@ -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'),
);

View File

@ -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'),