forked from cakephp/app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
- Loading branch information
Showing
3 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# $Id$ | ||
# | ||
# Copyright 2005-2011, Cake Software Foundation, Inc. | ||
# | ||
# Licensed under The MIT License | ||
# Redistributions of files must retain the above copyright notice. | ||
# MIT License (http://www.opensource.org/licenses/mit-license.php) | ||
|
||
CREATE TABLE acos ( | ||
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, | ||
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 ( | ||
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, | ||
aro_id INTEGER(10) UNSIGNED NOT NULL, | ||
aco_id INTEGER(10) UNSIGNED NOT NULL, | ||
_create CHAR(2) NOT NULL DEFAULT 0, | ||
_read CHAR(2) NOT NULL DEFAULT 0, | ||
_update CHAR(2) NOT NULL DEFAULT 0, | ||
_delete CHAR(2) NOT NULL DEFAULT 0, | ||
PRIMARY KEY(id) | ||
); | ||
|
||
CREATE TABLE aros ( | ||
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, | ||
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) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# $Id$ | ||
# | ||
# Copyright 2005-2011, Cake Software Foundation, Inc. | ||
# | ||
# Licensed under The MIT License | ||
# Redistributions of files must retain the above copyright notice. | ||
# MIT License (http://www.opensource.org/licenses/mit-license.php) | ||
|
||
CREATE TABLE i18n ( | ||
id int(10) NOT NULL auto_increment, | ||
locale varchar(6) NOT NULL, | ||
model varchar(255) NOT NULL, | ||
foreign_key int(10) NOT NULL, | ||
field varchar(255) NOT NULL, | ||
content mediumtext, | ||
PRIMARY KEY (id), | ||
# UNIQUE INDEX I18N_LOCALE_FIELD(locale, model, foreign_key, field), | ||
# INDEX I18N_LOCALE_ROW(locale, model, foreign_key), | ||
# INDEX I18N_LOCALE_MODEL(locale, model), | ||
# INDEX I18N_FIELD(model, foreign_key, field), | ||
# INDEX I18N_ROW(model, foreign_key), | ||
INDEX locale (locale), | ||
INDEX model (model), | ||
INDEX row_id (foreign_key), | ||
INDEX field (field) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# $Id$ | ||
# | ||
# Copyright 2005-2011, Cake Software Foundation, Inc. | ||
# 1785 E. Sahara Avenue, Suite 490-204 | ||
# Las Vegas, Nevada 89104 | ||
# | ||
# Licensed under The MIT License | ||
# Redistributions of files must retain the above copyright notice. | ||
# MIT License (http://www.opensource.org/licenses/mit-license.php) | ||
|
||
CREATE TABLE cake_sessions ( | ||
id varchar(255) NOT NULL default '', | ||
data text, | ||
expires int(11) default NULL, | ||
PRIMARY KEY (id) | ||
); |