diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-09-03 12:57:14 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-09-03 12:57:14 -0300 |
commit | 79cb3a8bde3a0c2699750a4cc36c3cab1ae6917a (patch) | |
tree | d84ebf82c91151eb5ce92469a5d93657daaf5d01 /reminder.install | |
parent | 339f9673536a3282109a3e1cf8d86cfe1ee1562c (diff) | |
download | reminder-79cb3a8bde3a0c2699750a4cc36c3cab1ae6917a.tar.gz reminder-79cb3a8bde3a0c2699750a4cc36c3cab1ae6917a.tar.bz2 |
Adding description field
Diffstat (limited to 'reminder.install')
-rw-r--r-- | reminder.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/reminder.install b/reminder.install index a5bbbb0..395838a 100644 --- a/reminder.install +++ b/reminder.install @@ -64,6 +64,11 @@ function reminder_schema() { 'not null' => TRUE, 'default' => '0' ), + 'description' => array( + 'description' => t('Reminder description'), + 'type' => 'text', + 'length' => 5000, + ), ), 'primary key' => array('nid'), ); @@ -189,3 +194,16 @@ function reminder_update_7001(&$sandbox) { ) ); } + +/** + * Adds description field. + */ +function reminder_update_7002(&$sandbox) { + db_add_field('reminder', 'description', + array( + 'description' => t('Reminder description'), + 'type' => 'text', + 'length' => 5000, + ) + ); +} |