diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-05-23 16:45:57 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-05-23 16:45:57 -0700 |
commit | f8d8abe5be39eeed1c15f726a38dc850f8126fbf (patch) | |
tree | 38cb467dab935c86cad56672dcfeb6d9ae2bf7e2 | |
parent | eed840666f7421640bf19bebe4a839777df279b8 (diff) | |
download | brdo-f8d8abe5be39eeed1c15f726a38dc850f8126fbf.tar.gz brdo-f8d8abe5be39eeed1c15f726a38dc850f8126fbf.tar.bz2 |
Issue #1154812 by lyricnz, Starminder: Fixed Poll Schema mismatch after upgrade D6 to D7.
-rw-r--r-- | modules/poll/poll.install | 8 |
1 files changed, 8 insertions, 0 deletions
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)); +} |