mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-16 11:58:25 +00:00
31 lines
865 B
MySQL
31 lines
865 B
MySQL
|
CREATE TABLE `acos` (
|
||
|
`id` int(11) NOT NULL auto_increment,
|
||
|
`model` varchar(255) NOT NULL default '',
|
||
|
`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,
|
||
|
`model` varchar(255) NOT NULL default '',
|
||
|
`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`)
|
||
|
);
|