cakephp2-php8/cake/libs/model/i18n/i18n.sql
phpnut 238ddacded Cleaning up translations model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4124 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 20:30:09 +00:00

18 lines
407 B
SQL

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 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)
);