2007-04-25 00:24:19 +00:00
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
# Copyright 2005-2007, 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.
|
|
|
|
# http://www.opensource.org/licenses/mit-license.php The MIT License
|
|
|
|
|
2006-12-22 20:30:09 +00:00
|
|
|
CREATE TABLE i18n (
|
2007-04-25 00:24:19 +00:00
|
|
|
id int(10) NOT NULL auto_increment,
|
|
|
|
locale varchar(6) NOT NULL,
|
|
|
|
i18n_content_id int(10) NOT NULL,
|
|
|
|
model varchar(255) NOT NULL,
|
|
|
|
row_id int(10) NOT NULL,
|
|
|
|
field varchar(255) NOT NULL,
|
|
|
|
PRIMARY KEY (id),
|
|
|
|
KEY locale (locale),
|
|
|
|
KEY i18n_content_id (i18n_content_id),
|
|
|
|
KEY row_id (row_id),
|
|
|
|
KEY model (model),
|
|
|
|
KEY field (field)
|
2006-06-14 19:06:14 +00:00
|
|
|
);
|
|
|
|
|
2006-12-22 20:30:09 +00:00
|
|
|
CREATE TABLE i18n_content (
|
2007-04-25 00:24:19 +00:00
|
|
|
id int(10) NOT NULL auto_increment,
|
|
|
|
content text,
|
|
|
|
PRIMARY KEY (id)
|
|
|
|
);
|