Subversion-Projekte lars-tiefland.cakephp

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
# $Id: i18n.sql 7945 2008-12-19 02:16:01Z gwoo $
2
#
3
# Copyright 2005-2008,	Cake Software Foundation, Inc.
4
#
5
# Licensed under The MIT License
6
# Redistributions of files must retain the above copyright notice.
7
# http://www.opensource.org/licenses/mit-license.php The MIT License
8
 
9
CREATE TABLE i18n (
10
	id int(10) NOT NULL auto_increment,
11
	locale varchar(6) NOT NULL,
12
	model varchar(255) NOT NULL,
13
	foreign_key int(10) NOT NULL,
14
	field varchar(255) NOT NULL,
15
	content mediumtext,
16
	PRIMARY KEY	(id),
17
#	UNIQUE INDEX I18N_LOCALE_FIELD(locale, model, foreign_key, field),
18
#	INDEX I18N_LOCALE_ROW(locale, model, foreign_key),
19
#	INDEX I18N_LOCALE_MODEL(locale, model),
20
#	INDEX I18N_FIELD(model, foreign_key, field),
21
#	INDEX I18N_ROW(model, foreign_key),
22
	INDEX locale (locale),
23
	INDEX model (model),
24
	INDEX row_id (foreign_key),
25
	INDEX field (field)
26
);