| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <?php
- /**
- * @package modx
- * @subpackage mysql
- */
- $xpdo_meta_map['modActiveUser']= array (
- 'package' => 'modx',
- 'version' => '1.1',
- 'table' => 'active_users',
- 'extends' => 'xPDOObject',
- 'tableMeta' =>
- array (
- 'engine' => 'InnoDB',
- ),
- 'fields' =>
- array (
- 'internalKey' => 0,
- 'username' => '',
- 'lasthit' => 0,
- 'id' => NULL,
- 'action' => '',
- 'ip' => '',
- ),
- 'fieldMeta' =>
- array (
- 'internalKey' =>
- array (
- 'dbtype' => 'int',
- 'precision' => '9',
- 'phptype' => 'integer',
- 'null' => false,
- 'default' => 0,
- 'index' => 'pk',
- ),
- 'username' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '50',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- ),
- 'lasthit' =>
- array (
- 'dbtype' => 'int',
- 'precision' => '20',
- 'phptype' => 'timestamp',
- 'null' => false,
- 'default' => 0,
- ),
- 'id' =>
- array (
- 'dbtype' => 'int',
- 'precision' => '10',
- 'phptype' => 'integer',
- 'null' => true,
- ),
- 'action' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- ),
- 'ip' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '20',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- ),
- ),
- 'indexes' =>
- array (
- 'internalKey' =>
- array (
- 'alias' => 'internalKey',
- 'primary' => true,
- 'unique' => true,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'internalKey' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- ),
- 'aggregates' =>
- array (
- 'User' =>
- array (
- 'class' => 'modUser',
- 'local' => 'internalKey',
- 'foreign' => 'id',
- 'cardinality' => 'one',
- 'owner' => 'foreign',
- ),
- ),
- );
|