| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- <?php
- /**
- * @package modx
- * @subpackage mysql
- */
- $xpdo_meta_map['modLexiconEntry']= array (
- 'package' => 'modx',
- 'version' => '1.1',
- 'table' => 'lexicon_entries',
- 'extends' => 'xPDOSimpleObject',
- 'tableMeta' =>
- array (
- 'engine' => 'InnoDB',
- ),
- 'fields' =>
- array (
- 'name' => '',
- 'value' => '',
- 'topic' => 'default',
- 'namespace' => 'core',
- 'language' => 'en',
- 'createdon' => NULL,
- 'editedon' => NULL,
- ),
- 'fieldMeta' =>
- array (
- 'name' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- 'index' => 'index',
- ),
- 'value' =>
- array (
- 'dbtype' => 'text',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- ),
- 'topic' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => 'default',
- 'index' => 'index',
- ),
- 'namespace' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '40',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => 'core',
- 'index' => 'index',
- ),
- 'language' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '20',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => 'en',
- 'index' => 'index',
- ),
- 'createdon' =>
- array (
- 'dbtype' => 'datetime',
- 'phptype' => 'datetime',
- ),
- 'editedon' =>
- array (
- 'dbtype' => 'timestamp',
- 'phptype' => 'timestamp',
- 'null' => true,
- 'default' => NULL,
- 'attributes' => 'ON UPDATE CURRENT_TIMESTAMP',
- ),
- ),
- 'indexes' =>
- array (
- 'name' =>
- array (
- 'alias' => 'name',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'name' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- 'topic' =>
- array (
- 'alias' => 'topic',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'topic' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- 'namespace' =>
- array (
- 'alias' => 'namespace',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'namespace' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- 'language' =>
- array (
- 'alias' => 'language',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'language' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- ),
- 'aggregates' =>
- array (
- 'Namespace' =>
- array (
- 'class' => 'modNamespace',
- 'local' => 'namespace',
- 'foreign' => 'name',
- 'cardinality' => 'one',
- 'owner' => 'foreign',
- ),
- ),
- );
|