[development] Install Schema

Earl Miles merlin at logrus.com
Thu Aug 6 19:45:00 UTC 2009


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.


More information about the development mailing list