Now schema.module report with following error message:

download_count.ip_address is type varchar but its default 0 is PHP type integer
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hswong3i’s picture

Status: Active » Needs review
FileSize
804 bytes
WorldFallz’s picture

Status: Needs review » Reviewed & tested by the community

thanks, I'll roll this in to the dev this weekend.

hswong3i’s picture

welcome ;-)

deanflory’s picture

Issue summary: View changes

Is this not yet applied to a release?

DamienMcKenna’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
1.15 KB

First off, the default should be an empty string rather than a zero. Secondly, there needed to be an update script to fix existing installs.

DamienMcKenna’s picture

Doh. No default value for NOT NULL fields.

WorldFallz’s picture

Status: Needs review » Fixed

Fix committed. Thanks again Damien!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.