Mercurial > defr > drupal > scald > dnd
view dnd.install @ 49:af6627970bc4
DnD: Don't redefine properties that belongs to system.module
author | Franck Deroche <defr@ows.fr> |
---|---|
date | Tue, 18 May 2010 15:29:29 +0000 |
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; }