diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-05-23 21:00:54 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-05-23 21:00:54 -0400 |
commit | 259d0b8feca71d49c2f79dcce53b3147f7429b75 (patch) | |
tree | 2a1c29bbd6ecefb410f9b34a3ffbba65d1f09f8f /modules/poll | |
parent | 1f17b2c1e2cc602faa99f40f8c0c305df7e17cde (diff) | |
parent | 6c57cfa11d58e8c3b6dd5ccc663ce15e2b8842cd (diff) | |
download | brdo-259d0b8feca71d49c2f79dcce53b3147f7429b75.tar.gz brdo-259d0b8feca71d49c2f79dcce53b3147f7429b75.tar.bz2 |
Merge branch '7.x' of git.drupal.org:project/drupal into 7.x
Diffstat (limited to 'modules/poll')
-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)); +} |