view dnd.install @ 2:5a44c430b7ac

Added dnd_test module, tons and tons of fixes and changes.
author David Eads <eads@chicagotech.org>
date Tue, 17 Feb 2009 15:34:56 -0600
parents cee053085755
children
line wrap: on
line source
<?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),
      'settings' => array('type' => 'text', 'default' => ''),
    ),
    'primary key' => array('textarea'),
  );
  return $schema;
}