aboutsummaryrefslogtreecommitdiff
path: root/reminder.install
diff options
context:
space:
mode:
Diffstat (limited to 'reminder.install')
-rw-r--r--reminder.install18
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,
+ )
+ );
+}