Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am checking my drupal site with schema module (http://drupal.org/project/schema) and it report one issue about taxonomy_title schema:
column tid - difference on: length
declared: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'unsigned' => TRUE, 'length' => '11', 'not null' => TRUE, 'default' => 0)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0)
Maybe it issue could be important
Comment | File | Size | Author |
---|---|---|---|
#3 | taxonomy_title-remove_length_from_int_cols-1835420-3.patch | 875 bytes | jenlampton |
#1 | taxonomy_title-remove_length_from_int_cols-1835420-1.patch | 385 bytes | jenlampton |
#1 | taxonomy_title-remove_length_from_int_cols-1835420-1-D6.patch | 501 bytes | jenlampton |
Comments
Comment #1
jenlamptonThanks for the issue @jordi_bcktt. Based on a similar solution in #938436: Remove 'length' parameter for fields with 'int' type I will remove the length declaration from the schema, but since this is not actually a bug, I don't see a reason to update existing installations. This will clean up the problem for future installations though.
Patches provided for both D7 and D6.
Comment #2
hass CreditAttribution: hass commentedUpdate hook is missing. Not updating all to the same shema can cause unconditional issues. This must be avoided. Creating an update hook is really easy.
Comment #3
jenlamptonUpdate hook added.
Comment #5
jenlampton