view dnd.install @ 24:4f58fa0a9a6d

Cleaned up some library behavior, changed editor representation cache to track a title and a body for representations, to allow a little more dynamic composition.
author David Eads <eads@chicagotech.org>
date Wed, 11 Mar 2009 01:47:57 -0500
parents 5a44c430b7ac
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;
}