'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', ), ), );