summaryrefslogtreecommitdiff
path: root/modules/poll
diff options
context:
space:
mode:
Diffstat (limited to 'modules/poll')
-rw-r--r--modules/poll/poll.install8
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));
+}