[development] Install Schema
Damian Adriel Perez Valdes
damian.adriel at gmail.com
Thu Aug 6 21:09:06 UTC 2009
Thank's so much.
On Thu, Aug 6, 2009 at 3:45 PM, Earl Miles <merlin at logrus.com> wrote:
> Damian Adriel Perez Valdes wrote:
>
>> Hi:
>>
>> How can i install a table in mysql.
>>
>> I tried with this script but don't work.
>>
>> function tags_schema() {
>> $schema['table'] = array(
>>
> > // .... cut for clarity ....
>
>> 'unique keys' => array(
>> 'nid_vid' => array('nid', 'vid'),
>> 'vid' => array('vid')
>> ),
>> 'primary key' => array('nid'),
>> );
>> }
>>
>
> You lack a return statement.
>
--
Damián Adriel Pérez Valdés
Programador de Sistemas
URL Blog: http://damianadriel.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20090806/c728f6d0/attachment.htm>
More information about the development
mailing list