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.
Now schema.module report with following error message:
download_count.ip_address is type varchar but its default 0 is PHP type integer
Comment | File | Size | Author |
---|---|---|---|
#6 | download_count-n2039451-6.patch | 1.1 KB | DamienMcKenna |
Comments
Comment #1
hswong3i CreditAttribution: hswong3i commentedComment #2
WorldFallz CreditAttribution: WorldFallz commentedthanks, I'll roll this in to the dev this weekend.
Comment #3
hswong3i CreditAttribution: hswong3i commentedwelcome ;-)
Comment #4
deanflory CreditAttribution: deanflory commentedIs this not yet applied to a release?
Comment #5
DamienMcKennaFirst off, the default should be an empty string rather than a zero. Secondly, there needed to be an update script to fix existing installs.
Comment #6
DamienMcKennaDoh. No default value for NOT NULL fields.
Comment #8
WorldFallz CreditAttribution: WorldFallz commentedFix committed. Thanks again Damien!