comparison 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
comparison
equal deleted inserted replaced
0:4ed512a32d98 1:cee053085755
1 <?php
2
3 /**
4 * Implementation of hook_schema().
5 */
6 function dnd_schema() {
7 $schema = array();
8 $schema['dnd'] = array(
9 'description' => t('Associates library sources with textareas.'),
10 'fields' => array(
11 'textarea' => array('type' => 'varchar', 'not null' => TRUE),
12 'source' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE),
13 ),
14 'primary key' => array('textarea'),
15 );
16 return $schema;
17 }
18