Hi Dardo,

I found in /cake/cake/console/libs/templates/skel/config/sql to create the
tables. Thank you for your info.


-- 
Juan Luis Baptiste

On Tue, Feb 19, 2008 at 5:04 AM, Dardo Sordi Bogado <[EMAIL PROTECTED]>
wrote:

>
> mysql> describe aros;
> +-------------+--------------+------+-----+---------+----------------+
> | Field       | Type         | Null | Key | Default | Extra          |
> +-------------+--------------+------+-----+---------+----------------+
> | id          | int(10)      | NO   | PRI | NULL    | auto_increment |
> | parent_id   | int(10)      | YES  |     | NULL    |                |
> | model       | varchar(255) | YES  |     | NULL    |                |
> | foreign_key | int(10)      | YES  |     | NULL    |                |
> | alias       | varchar(255) | YES  |     | NULL    |                |
> | lft         | int(10)      | YES  |     | NULL    |                |
> | rght        | int(10)      | YES  |     | NULL    |                |
> +-------------+--------------+------+-----+---------+----------------+
> 7 rows in set (0.00 sec)
>
> mysql> describe acos;
> +-------------+--------------+------+-----+---------+----------------+
> | Field       | Type         | Null | Key | Default | Extra          |
> +-------------+--------------+------+-----+---------+----------------+
> | id          | int(10)      | NO   | PRI | NULL    | auto_increment |
> | parent_id   | int(10)      | YES  |     | NULL    |                |
> | model       | varchar(255) | YES  |     | NULL    |                |
> | foreign_key | int(10)      | YES  |     | NULL    |                |
> | alias       | varchar(255) | YES  |     | NULL    |                |
> | lft         | int(10)      | YES  |     | NULL    |                |
> | rght        | int(10)      | YES  |     | NULL    |                |
> +-------------+--------------+------+-----+---------+----------------+
> 7 rows in set (0.00 sec)
>
> mysql> describe aros_acos;
> +---------+------------+------+-----+---------+----------------+
> | Field   | Type       | Null | Key | Default | Extra          |
> +---------+------------+------+-----+---------+----------------+
> | id      | int(10)    | NO   | PRI | NULL    | auto_increment |
> | aro_id  | int(10)    | NO   | MUL |         |                |
> | aco_id  | int(10)    | NO   |     |         |                |
> | _create | varchar(2) | NO   |     | 0       |                |
> | _read   | varchar(2) | NO   |     | 0       |                |
> | _update | varchar(2) | NO   |     | 0       |                |
> | _delete | varchar(2) | NO   |     | 0       |                |
> +---------+------------+------+-----+---------+----------------+
> 7 rows in set (0.01 sec)
>
> mysql>
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to