| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <?php
- /**
- * @package modx
- * @subpackage sqlsrv
- */
- $xpdo_meta_map['modSession']= array (
- 'package' => 'modx',
- 'version' => '1.1',
- 'table' => 'session',
- 'extends' => 'xPDOObject',
- 'fields' =>
- array (
- 'id' => '',
- 'access' => NULL,
- 'data' => NULL,
- ),
- 'fieldMeta' =>
- array (
- 'id' =>
- array (
- 'dbtype' => 'nvarchar',
- 'precision' => '255',
- 'phptype' => 'string',
- 'null' => false,
- 'index' => 'pk',
- 'default' => '',
- ),
- 'access' =>
- array (
- 'dbtype' => 'bigint',
- 'phptype' => 'timestamp',
- 'null' => false,
- ),
- 'data' =>
- array (
- 'dbtype' => 'nvarchar',
- 'precision' => 'max',
- '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,255}$/',
- 'message' => 'session_err_invalid_id',
- ),
- ),
- ),
- ),
- );
|