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