| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?php
- /**
- * @package modx
- * @subpackage mysql
- */
- $xpdo_meta_map['modContextResource']= array (
- 'package' => 'modx',
- 'version' => '1.1',
- 'table' => 'context_resource',
- 'extends' => 'xPDOObject',
- 'tableMeta' =>
- array (
- 'engine' => 'InnoDB',
- ),
- 'fields' =>
- array (
- 'context_key' => NULL,
- 'resource' => NULL,
- ),
- 'fieldMeta' =>
- array (
- 'context_key' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'index' => 'pk',
- ),
- 'resource' =>
- array (
- 'dbtype' => 'int',
- 'precision' => '11',
- 'attributes' => 'unsigned',
- 'phptype' => 'integer',
- 'null' => false,
- 'index' => 'pk',
- ),
- ),
- 'indexes' =>
- array (
- 'PRIMARY' =>
- array (
- 'alias' => 'PRIMARY',
- 'primary' => true,
- 'unique' => true,
- 'columns' =>
- array (
- 'context_key' =>
- array (
- 'collation' => 'A',
- 'null' => false,
- ),
- 'resource' =>
- array (
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- ),
- 'aggregates' =>
- array (
- 'Context' =>
- array (
- 'class' => 'modContext',
- 'local' => 'context_key',
- 'foreign' => 'key',
- 'cardinality' => 'one',
- 'owner' => 'foreign',
- ),
- 'Resource' =>
- array (
- 'class' => 'modResource',
- 'local' => 'resource',
- 'foreign' => 'id',
- 'cardinality' => 'one',
- 'owner' => 'foreign',
- ),
- ),
- );
|