Closed (fixed)
Project:
Voting API
Version:
7.x-2.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2011 at 16:17 UTC
Updated:
9 Oct 2012 at 18:21 UTC
Hi,
Could be fixed with:
function votingapi_update_7202() {
db_change_field('votingapi_vote', 'entity_type', 'entity_type', array('type' => 'varchar', 'length' => 64, 'not null' => TRUE, 'default' => 'node'));
db_change_field('votingapi_cache', 'entity_type', 'entity_type',array('type' => 'varchar', 'length' => 64, 'not null' => TRUE, 'default' => 'node'));
}
Comments
Comment #1
jaydub commentedIt would helpful to know what the Schema issue was...
Comment #2
torotil commentedI think the issue is the default value for entity_type. But I'd like to really know what the problem was.
Comment #3
torotil commentedIf I'm correct and the bug-report was about the missing default values it's fixed with: http://drupalcode.org/project/votingapi.git/commit/e018810