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:
nate 2007-02-09 17:39:54 +00:00
parent 6ec10af951
commit 7f553731bd

View file

@ -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)
);