From f8d8abe5be39eeed1c15f726a38dc850f8126fbf Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 23 May 2011 16:45:57 -0700 Subject: Issue #1154812 by lyricnz, Starminder: Fixed Poll Schema mismatch after upgrade D6 to D7. --- modules/poll/poll.install | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/poll/poll.install') diff --git a/modules/poll/poll.install b/modules/poll/poll.install index d74ff986a..8c73cf43a 100644 --- a/modules/poll/poll.install +++ b/modules/poll/poll.install @@ -196,3 +196,11 @@ function poll_update_7003() { 'description' => 'The sort order of this choice among all choices for the same node.', )); } + +/** + * Update the database to match the schema. + */ +function poll_update_7004() { + // Remove field default. + db_change_field('poll_vote', 'chid', 'chid', array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE)); +} -- cgit v1.2.3