diff dnd.install @ 1:cee053085755

Fleshing things out.
author David Eads <eads@chicagotech.org>
date Mon, 16 Feb 2009 01:39:54 -0600
parents
children 5a44c430b7ac
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dnd.install	Mon Feb 16 01:39:54 2009 -0600
@@ -0,0 +1,18 @@
+<?php
+
+/**
+ * Implementation of hook_schema().
+ */
+function dnd_schema() {
+  $schema = array();
+  $schema['dnd'] = array(
+    'description' => t('Associates library sources with textareas.'),
+    'fields' => array(
+      'textarea' => array('type' => 'varchar', 'not null' => TRUE),
+      'source' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE),
+    ),
+    'primary key' => array('textarea'),
+  );
+  return $schema;
+}
+