From 79cb3a8bde3a0c2699750a4cc36c3cab1ae6917a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 3 Sep 2012 12:57:14 -0300 Subject: Adding description field --- reminder.install | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'reminder.install') 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, + ) + ); +} -- cgit v1.2.3