| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <?php
- /**
- * @package modx
- * @subpackage mysql
- */
- $xpdo_meta_map['modUserMessage']= array (
- 'package' => 'modx',
- 'version' => '1.1',
- 'table' => 'user_messages',
- 'extends' => 'xPDOSimpleObject',
- 'tableMeta' =>
- array (
- 'engine' => 'InnoDB',
- ),
- 'fields' =>
- array (
- 'type' => '',
- 'subject' => '',
- 'message' => '',
- 'sender' => 0,
- 'recipient' => 0,
- 'private' => 0,
- 'date_sent' => NULL,
- 'read' => 0,
- ),
- 'fieldMeta' =>
- array (
- 'type' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '15',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- ),
- 'subject' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- ),
- 'message' =>
- array (
- 'dbtype' => 'text',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- ),
- 'sender' =>
- array (
- 'dbtype' => 'int',
- 'precision' => '10',
- 'phptype' => 'integer',
- 'null' => false,
- 'default' => 0,
- ),
- 'recipient' =>
- array (
- 'dbtype' => 'int',
- 'precision' => '10',
- 'phptype' => 'integer',
- 'null' => false,
- 'default' => 0,
- ),
- 'private' =>
- array (
- 'dbtype' => 'tinyint',
- 'precision' => '4',
- 'phptype' => 'integer',
- 'null' => false,
- 'default' => 0,
- ),
- 'date_sent' =>
- array (
- 'dbtype' => 'datetime',
- 'phptype' => 'datetime',
- 'null' => true,
- 'default' => NULL,
- ),
- 'read' =>
- array (
- 'dbtype' => 'tinyint',
- 'precision' => '1',
- 'phptype' => 'integer',
- 'null' => false,
- 'default' => 0,
- ),
- ),
- 'aggregates' =>
- array (
- 'Sender' =>
- array (
- 'class' => 'modUser',
- 'local' => 'sender',
- 'foreign' => 'id',
- 'cardinality' => 'one',
- 'owner' => 'foreign',
- ),
- 'Recipient' =>
- array (
- 'class' => 'modUser',
- 'local' => 'recipient',
- 'foreign' => 'id',
- 'cardinality' => 'one',
- 'owner' => 'foreign',
- ),
- ),
- );
|