Linux multi-monitor fullscreen support
[ryzomcore.git] / web / public_php / webtt / app / config / schema / i18n.php
blob27e1ec35711db0358bea3be0a7358196330fe7d6
1 <?php
2 /*i18n schema generated on: 2007-11-25 07:11:25 : 1196004805*/
3 /**
4 * This is i18n Schema file
6 * Use it to configure database for i18n
8 * PHP versions 4 and 5
10 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
11 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
13 * Licensed under The MIT License
14 * Redistributions of files must retain the above copyright notice.
16 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
17 * @link http://cakephp.org CakePHP(tm) Project
18 * @package cake
19 * @subpackage cake.app.config.sql
20 * @since CakePHP(tm) v 0.2.9
21 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
25 * Using the Schema command line utility
26 * cake schema run create i18n
29 class i18nSchema extends CakeSchema {
31 var $name = 'i18n';
33 function before($event = array()) {
34 return true;
37 function after($event = array()) {
40 var $i18n = array(
41 'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
42 'locale' => array('type'=>'string', 'null' => false, 'length' => 6, 'key' => 'index'),
43 'model' => array('type'=>'string', 'null' => false, 'key' => 'index'),
44 'foreign_key' => array('type'=>'integer', 'null' => false, 'length' => 10, 'key' => 'index'),
45 'field' => array('type'=>'string', 'null' => false, 'key' => 'index'),
46 'content' => array('type'=>'text', 'null' => true, 'default' => NULL),
47 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'locale' => array('column' => 'locale', 'unique' => 0), 'model' => array('column' => 'model', 'unique' => 0), 'row_id' => array('column' => 'foreign_key', 'unique' => 0), 'field' => array('column' => 'field', 'unique' => 0))