| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <?php
- /**
- * @package modx
- * @subpackage mysql
- */
- $xpdo_meta_map['modTemplateVarResource']= array (
- 'package' => 'modx',
- 'version' => '1.1',
- 'table' => 'site_tmplvar_contentvalues',
- 'extends' => 'xPDOSimpleObject',
- 'tableMeta' =>
- array (
- 'engine' => 'InnoDB',
- ),
- 'fields' =>
- array (
- 'tmplvarid' => 0,
- 'contentid' => 0,
- 'value' => NULL,
- ),
- 'fieldMeta' =>
- array (
- 'tmplvarid' =>
- array (
- 'dbtype' => 'int',
- 'precision' => '10',
- 'phptype' => 'integer',
- 'null' => false,
- 'default' => 0,
- 'index' => 'index',
- ),
- 'contentid' =>
- array (
- 'dbtype' => 'int',
- 'precision' => '10',
- 'phptype' => 'integer',
- 'null' => false,
- 'default' => 0,
- 'index' => 'index',
- ),
- 'value' =>
- array (
- 'dbtype' => 'mediumtext',
- 'phptype' => 'string',
- 'null' => false,
- ),
- ),
- 'indexes' =>
- array (
- 'tmplvarid' =>
- array (
- 'alias' => 'tmplvarid',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'tmplvarid' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- 'contentid' =>
- array (
- 'alias' => 'contentid',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'contentid' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- 'tv_cnt' =>
- array (
- 'alias' => 'tv_cnt',
- 'primary' => false,
- 'unique' => true,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'tmplvarid' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- 'contentid' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- ),
- 'aggregates' =>
- array (
- 'TemplateVar' =>
- array (
- 'class' => 'modTemplateVar',
- 'local' => 'tmplvarid',
- 'foreign' => 'id',
- 'cardinality' => 'one',
- 'owner' => 'foreign',
- ),
- 'Resource' =>
- array (
- 'class' => 'modResource',
- 'local' => 'contentid',
- 'foreign' => 'id',
- 'cardinality' => 'one',
- 'owner' => 'foreign',
- ),
- ),
- );
|