| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <?php
- /**
- * AuditRequest - Map xPDO MySQL
- * Généré depuis schema/audit_express.mysql.schema.xml
- */
- $xpdo_meta_map['AuditRequest'] = [
- 'package' => 'audit_express',
- 'version' => '1.1',
- 'table' => 'audit_requests',
- 'extends' => 'xPDOSimpleObject',
- 'fields' => [
- 'audit_uid' => '',
- 'pack_id' => '',
- 'answers' => null,
- 'optional_data' => null,
- 'result' => null,
- 'email' => null,
- 'status' => 'draft',
- 'ip_hash' => null,
- 'step' => 0,
- 'created_at' => null,
- 'updated_at' => null,
- ],
- 'fieldMeta' => [
- 'audit_uid' => [
- 'dbtype' => 'varchar',
- 'precision' => '36',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- 'index' => 'unique',
- ],
- 'pack_id' => [
- 'dbtype' => 'varchar',
- 'precision' => '64',
- 'phptype' => 'string',
- 'null' => false,
- 'default' => '',
- ],
- 'answers' => [
- 'dbtype' => 'text',
- 'phptype' => 'string',
- 'null' => true,
- ],
- 'optional_data' => [
- 'dbtype' => 'text',
- 'phptype' => 'string',
- 'null' => true,
- ],
- 'result' => [
- 'dbtype' => 'mediumtext',
- 'phptype' => 'string',
- 'null' => true,
- ],
- 'email' => [
- 'dbtype' => 'varchar',
- 'precision' => '255',
- 'phptype' => 'string',
- 'null' => true,
- ],
- 'status' => [
- 'dbtype' => 'enum',
- 'precision' => "'draft','completed','emailed'",
- 'phptype' => 'string',
- 'null' => false,
- 'default' => 'draft',
- ],
- 'ip_hash' => [
- 'dbtype' => 'varchar',
- 'precision' => '64',
- 'phptype' => 'string',
- 'null' => true,
- ],
- 'step' => [
- 'dbtype' => 'tinyint',
- 'precision' => '3',
- 'phptype' => 'integer',
- 'null' => false,
- 'default' => 0,
- ],
- 'created_at' => [
- 'dbtype' => 'datetime',
- 'phptype' => 'datetime',
- 'null' => false,
- ],
- 'updated_at' => [
- 'dbtype' => 'datetime',
- 'phptype' => 'datetime',
- 'null' => false,
- ],
- ],
- 'indexes' => [
- 'PRIMARY' => [
- 'alias' => 'PRIMARY',
- 'primary' => true,
- 'unique' => true,
- 'type' => 'BTREE',
- 'columns' => ['id' => ['length' => '', 'collation' => 'A', 'null' => false]],
- ],
- 'audit_uid' => [
- 'alias' => 'audit_uid',
- 'primary' => false,
- 'unique' => true,
- 'type' => 'BTREE',
- 'columns' => ['audit_uid' => ['length' => '', 'collation' => 'A', 'null' => false]],
- ],
- 'status' => [
- 'alias' => 'status',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' => ['status' => ['length' => '', 'collation' => 'A', 'null' => false]],
- ],
- 'created_at' => [
- 'alias' => 'created_at',
- 'primary' => false,
- 'unique' => false,
- 'type' => 'BTREE',
- 'columns' => ['created_at' => ['length' => '', 'collation' => 'A', 'null' => false]],
- ],
- ],
- ];
|