7 Aug
2009
7 Aug
'09
12:15 a.m.
On Thursday 06 August 2009, Damian Adriel Perez Valdes wrote:
Thank's so much.
On Thu, Aug 6, 2009 at 3:45 PM, Earl Miles <merlin@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.
You can build the table with phpmyadmin and use the schema module to give you the $schema code, much easier than handrolling. -- ----------------- Bob Hutchinson Midwales dot com -----------------