mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +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,12 +10,13 @@
|
|||
|
||||
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)
|
||||
parent_id INTEGER(10) DEFAULT NULL,
|
||||
model VARCHAR(255) DEFAULT '',
|
||||
foreign_key INTEGER(10) UNSIGNED DEFAULT NULL,
|
||||
alias VARCHAR(255) DEFAULT '',
|
||||
lft INTEGER(10) DEFAULT NULL,
|
||||
rght INTEGER(10) DEFAULT NULL,
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
CREATE TABLE aros_acos (
|
||||
|
@ -31,10 +32,11 @@ CREATE TABLE aros_acos (
|
|||
|
||||
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)
|
||||
parent_id INTEGER(10) DEFAULT NULL,
|
||||
model VARCHAR(255) DEFAULT '',
|
||||
foreign_key INTEGER(10) UNSIGNED DEFAULT NULL,
|
||||
alias VARCHAR(255) DEFAULT '',
|
||||
lft INTEGER(10) DEFAULT NULL,
|
||||
rght INTEGER(10) DEFAULT NULL,
|
||||
PRIMARY KEY (id)
|
||||
);
|
Loading…
Reference in a new issue