Copying i18n.sql to skel directory

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5028 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-05-06 02:39:44 +00:00
parent 360690ed7f
commit 32cc12553e

View file

@ -0,0 +1,30 @@
# $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
CREATE TABLE i18n (
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)
);
CREATE TABLE i18n_content (
id int(10) NOT NULL auto_increment,
content text,
PRIMARY KEY (id)
);