diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-11-05 17:30:13 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-11-05 17:30:13 -0200 |
commit | 43c4c15a33dfcb610a28fe802ce6086447471ca5 (patch) | |
tree | 7ea21fd92efa475295670cbe353a78a23736e94f /reminder.install | |
parent | 467a4ee0bdd2d6426812eeecef796508e337deea (diff) | |
download | reminder-43c4c15a33dfcb610a28fe802ce6086447471ca5.tar.gz reminder-43c4c15a33dfcb610a28fe802ce6086447471ca5.tar.bz2 |
More reminder_subscriptions fixes
Diffstat (limited to 'reminder.install')
-rw-r--r-- | reminder.install | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/reminder.install b/reminder.install index 395838a..2c7df59 100644 --- a/reminder.install +++ b/reminder.install @@ -94,7 +94,7 @@ function reminder_schema() { ), 'unsubscribe_url' => array( 'type' => 'varchar', - 'length' => 25, + 'length' => 30, 'not null' => TRUE, 'default' => '' ), @@ -207,3 +207,17 @@ function reminder_update_7002(&$sandbox) { ) ); } + +/** + * Increase unsubscribe_url size. + */ +function reminder_update_7003(&$sandbox) { + db_change_field('reminder_subscriptions', 'unsubscribe_url', 'unsubscribe_url', + array( + 'type' => 'varchar', + 'length' => 30, + 'not null' => TRUE, + 'default' => '' + ) + ); +} |