mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-16 03:48:24 +00:00
30 lines
778 B
MySQL
30 lines
778 B
MySQL
|
|
||
|
CREATE TABLE `acos` (
|
||
|
`id` int(11) NOT NULL auto_increment,
|
||
|
`object_id` int(11) default NULL,
|
||
|
`alias` varchar(255) NOT NULL default '',
|
||
|
`lft` int(11) default NULL,
|
||
|
`rght` int(11) default NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
);
|
||
|
|
||
|
CREATE TABLE `aros` (
|
||
|
`id` int(11) NOT NULL auto_increment,
|
||
|
`user_id` int(11) default NULL,
|
||
|
`alias` varchar(255) NOT NULL default '',
|
||
|
`lft` int(11) default NULL,
|
||
|
`rght` int(11) default NULL,
|
||
|
PRIMARY KEY (`id`)
|
||
|
);
|
||
|
|
||
|
CREATE TABLE `aros_acos` (
|
||
|
`id` int(11) NOT NULL auto_increment,
|
||
|
`aro_id` int(11) default NULL,
|
||
|
`aco_id` int(11) default NULL,
|
||
|
`_create` int(1) NOT NULL default '0',
|
||
|
`_read` int(1) NOT NULL default '0',
|
||
|
`_update` int(1) NOT NULL default '0',
|
||
|
`_delete` int(11) NOT NULL default '0',
|
||
|
PRIMARY KEY (`id`)
|
||
|
);
|