mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
e56c1780bf
Fixes Ticket #1672 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3900 3807eeeb-6ff5-0310-8944-8be069107fe0
30 lines
No EOL
939 B
SQL
30 lines
No EOL
939 B
SQL
CREATE TABLE acos (
|
|
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
model VARCHAR(255) NOT NULL DEFAULT '',
|
|
object_id INTEGER(10) NULL DEFAULT NULL,
|
|
alias VARCHAR(255) NOT NULL DEFAULT '',
|
|
lft INTEGER(10) NULL DEFAULT NULL,
|
|
rght INTEGER(10) NULL DEFAULT NULL,
|
|
PRIMARY KEY(id)
|
|
);
|
|
|
|
CREATE TABLE aros_acos (
|
|
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
aro_id INTEGER(10) UNSIGNED NOT NULL,
|
|
aco_id INTEGER(10) UNSIGNED NOT NULL,
|
|
_create TINYINT(1) NOT NULL DEFAULT 0,
|
|
_read TINYINT(1) NOT NULL DEFAULT 0,
|
|
_update TINYINT(1) NOT NULL DEFAULT 0,
|
|
_delete TINYINT(1) NOT NULL DEFAULT 0,
|
|
PRIMARY KEY(id)
|
|
);
|
|
|
|
CREATE TABLE aros (
|
|
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
model VARCHAR(255) NOT NULL DEFAULT '',
|
|
foreign_key INTEGER(10) UNSIGNED NULL DEFAULT NULL,
|
|
alias VARCHAR(255) NOT NULL DEFAULT '',
|
|
lft INTEGER(10) NULL DEFAULT NULL,
|
|
rght INTEGER(10) NULL DEFAULT NULL,
|
|
PRIMARY KEY(id)
|
|
); |