mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
53ff7d9904
Merging changes from app/ to skel/ git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6314 3807eeeb-6ff5-0310-8944-8be069107fe0
28 lines
879 B
SQL
28 lines
879 B
SQL
# $Id$
|
|
#
|
|
# Copyright 2005-2008, 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,
|
|
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)
|
|
);
|