mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Updating ACL SQL table definitions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4489 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
6ec10af951
commit
7f553731bd
1 changed files with 15 additions and 13 deletions
|
@ -10,11 +10,12 @@
|
||||||
|
|
||||||
CREATE TABLE acos (
|
CREATE TABLE acos (
|
||||||
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
model VARCHAR(255) NOT NULL DEFAULT '',
|
parent_id INTEGER(10) DEFAULT NULL,
|
||||||
object_id INTEGER(10) NULL DEFAULT NULL,
|
model VARCHAR(255) DEFAULT '',
|
||||||
alias VARCHAR(255) NOT NULL DEFAULT '',
|
foreign_key INTEGER(10) UNSIGNED DEFAULT NULL,
|
||||||
lft INTEGER(10) NULL DEFAULT NULL,
|
alias VARCHAR(255) DEFAULT '',
|
||||||
rght INTEGER(10) NULL DEFAULT NULL,
|
lft INTEGER(10) DEFAULT NULL,
|
||||||
|
rght INTEGER(10) DEFAULT NULL,
|
||||||
PRIMARY KEY (id)
|
PRIMARY KEY (id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -31,10 +32,11 @@ CREATE TABLE aros_acos (
|
||||||
|
|
||||||
CREATE TABLE aros (
|
CREATE TABLE aros (
|
||||||
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
model VARCHAR(255) NOT NULL DEFAULT '',
|
parent_id INTEGER(10) DEFAULT NULL,
|
||||||
foreign_key INTEGER(10) UNSIGNED NULL DEFAULT NULL,
|
model VARCHAR(255) DEFAULT '',
|
||||||
alias VARCHAR(255) NOT NULL DEFAULT '',
|
foreign_key INTEGER(10) UNSIGNED DEFAULT NULL,
|
||||||
lft INTEGER(10) NULL DEFAULT NULL,
|
alias VARCHAR(255) DEFAULT '',
|
||||||
rght INTEGER(10) NULL DEFAULT NULL,
|
lft INTEGER(10) DEFAULT NULL,
|
||||||
|
rght INTEGER(10) DEFAULT NULL,
|
||||||
PRIMARY KEY (id)
|
PRIMARY KEY (id)
|
||||||
);
|
);
|
Loading…
Reference in a new issue