diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-14 17:46:32 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-14 17:46:32 +0000 |
commit | c3972cf5069f709eba0644f97b75e2ce84db0a86 (patch) | |
tree | e8db63b0f6ddb1339533412cc5efef5835a3fb83 /modules/block | |
parent | 439942db98c2d11fd9101d05d03267fe8f60031f (diff) | |
download | brdo-c3972cf5069f709eba0644f97b75e2ce84db0a86.tar.gz brdo-c3972cf5069f709eba0644f97b75e2ce84db0a86.tar.bz2 |
#162432 by bjaspan and chx: serial columns need their keys defined in db_change_field() and friends in MySQL
Diffstat (limited to 'modules/block')
-rw-r--r-- | modules/block/block.schema | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/block/block.schema b/modules/block/block.schema index e025867a9..d43309729 100644 --- a/modules/block/block.schema +++ b/modules/block/block.schema @@ -36,7 +36,7 @@ function block_schema() { $schema['boxes'] = array( 'fields' => array( - 'bid' => array('type' => 'serial', 'not null' => TRUE), + 'bid' => array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE), 'body' => array('type' => 'text', 'not null' => FALSE, 'size' => 'big'), 'info' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''), 'format' => array('type' => 'int', 'size' => 'small', 'not null' => TRUE, 'default' => 0) |