| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?php
- /**
- * @package modx
- * @subpackage mysql
- */
- $xpdo_meta_map['modSession']= array (
- 'package' => 'modx',
- 'version' => '1.1',
- 'table' => 'session',
- 'extends' => 'xPDOObject',
- 'tableMeta' =>
- array (
- 'engine' => 'InnoDB',
- ),
- 'fields' =>
- array (
- 'id' => '',
- 'access' => NULL,
- 'data' => NULL,
- ),
- 'fieldMeta' =>
- array (
- 'id' =>
- array (
- 'dbtype' => 'varchar',
- 'precision' => '191',
- 'phptype' => 'string',
- 'null' => false,
- 'index' => 'pk',
- 'default' => '',
- ),
- 'access' =>
- array (
- 'dbtype' => 'int',
- 'precision' => '20',
- 'phptype' => 'timestamp',
- 'null' => false,
- 'attributes' => 'unsigned',
- ),
- 'data' =>
- array (
- 'dbtype' => 'mediumtext',
- 'phptype' => 'string',
- ),
- ),
- 'indexes' =>
- array (
- 'PRIMARY' =>
- array (
- 'alias' => 'PRIMARY',
- 'primary' => true,
- 'unique' => true,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'id' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- 'access' =>
- array (
- 'alias' => 'access',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' =>
- array (
- 'access' =>
- array (
- 'length' => '',
- 'collation' => 'A',
- 'null' => false,
- ),
- ),
- ),
- ),
- 'validation' =>
- array (
- 'rules' =>
- array (
- 'id' =>
- array (
- 'invalid' =>
- array (
- 'type' => 'preg_match',
- 'rule' => '/^[0-9a-zA-Z,-]{22,191}$/',
- 'message' => 'session_err_invalid_id',
- ),
- ),
- ),
- ),
- );
|