adding example apps, fixing powerup issues
[feisty_meow.git] / production / example_apps / zippy_maps / config / schema / i18n.sql
1 # Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
2 #
3 # Licensed under The MIT License
4 # For full copyright and license information, please see the LICENSE.txt
5 # Redistributions of files must retain the above copyright notice.
6 # MIT License (http://www.opensource.org/licenses/mit-license.php)
7
8 CREATE TABLE i18n (
9     id int NOT NULL auto_increment,
10     locale varchar(6) NOT NULL,
11     model varchar(255) NOT NULL,
12     foreign_key int(10) NOT NULL,
13     field varchar(255) NOT NULL,
14     content text,
15     PRIMARY KEY (id),
16     UNIQUE INDEX I18N_LOCALE_FIELD(locale, model, foreign_key, field),
17     INDEX I18N_FIELD(model, foreign_key, field)
18 );