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.
After installing schema module, it gave me a warning that one of the schemas were incorrect. Nothing important seems to be effected though. Here is what schema reports:
project_issue_comments
- column cid - differences on: not null, default
- declared: array('description' => t('TODO: please describe this field!'), 'type' => 'int', 'not null' => FALSE)
- actual: array('description' => t('TODO: please describe this field!'), 'type' => 'int', 'not null' => TRUE, 'default' => 0)
Comment | File | Size | Author |
---|---|---|---|
#4 | cid_not_null-789300-3.patch | 613 bytes | fgm |
Comments
Comment #1
waverate CreditAttribution: waverate commentedSchema module is reporting a mismatch where the schema and database are different for project_issue.
It also reports:
project_issue_comments.cid is part of the primary key but is not specified to be 'not null'.
Does this need to be cleaned up?
Comment #2
fgmIt should: any component of a primary key should be NOT NULL.
Issue is still there in alpha5.
Comment #3
dwwDoh, sorry. This totally fell off my radar. We'll be sure to resolve this before an official 6.x-1.0 release.
Comment #4
fgmSuggested patch. It does not include a project_issue_update_6007() because the new schema is what MySQL actually implements with the current declaration.