| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <?php
- /**
- * @package modx
- * @subpackage mysql
- */
- $xpdo_meta_map['modDashboardWidget']= array (
- 'package' => 'modx',
- 'version' => '1.1',
- 'table' => 'dashboard_widget',
- 'extends' => 'xPDOSimpleObject',
- 'tableMeta' =>
- array (
- 'engine' => 'InnoDB',
- ),
- 'fields' =>
- array (
- 'name' => '',
- 'description' => NULL,
- 'type' => NULL,
- 'content' => NULL,
- 'namespace' => '',
- 'lexicon' => 'core:dashboards',
- 'size' => 'half',
- ),
- 'fieldMeta' =>
- array (
- 'name' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- 'index' => 'index',
- ),
- 'description' =>
- array (
- 'dbtype' => 'text',
- 'phptype' => 'string',
- ),
- 'type' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '100',
- 'phptype' => 'string',
- 'null' => false,
- 'index' => 'index',
- ),
- 'content' =>
- array (
- 'dbtype' => 'mediumtext',
- 'phptype' => 'string',
- ),
- 'namespace' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- 'index' => 'index',
- ),
- 'lexicon' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => 'core:dashboards',
- 'index' => 'index',
- ),
- 'size' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => 'half',
- ),
- ),
- 'indexes' =>
- array (
- 'name' =>
- array (
- 'alias' => 'name',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'name' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- 'type' =>
- array (
- 'alias' => 'type',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'type' =>
- 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,
- ),
- ),
- ),
- 'lexicon' =>
- array (
- 'alias' => 'lexicon',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'lexicon' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- ),
- 'composites' =>
- array (
- 'Placements' =>
- array (
- 'class' => 'modDashboardWidgetPlacement',
- 'local' => 'id',
- 'foreign' => 'widget',
- 'cardinality' => 'many',
- 'owner' => 'local',
- ),
- ),
- 'aggregates' =>
- array (
- 'Namespace' =>
- array (
- 'class' => 'modNamespace',
- 'local' => 'namespace',
- 'foreign' => 'name',
- 'cardinality' => 'one',
- 'owner' => 'foreign',
- ),
- ),
- );
|