modxcms/revolution

View on GitHub
core/model/modx/sqlsrv/modformcustomizationprofile.map.inc.php

Summary

Maintainability
B
5 hrs
Test Coverage
<?php
/**
 * @package modx
 * @subpackage sqlsrv
 */
$xpdo_meta_map['modFormCustomizationProfile']= array (
  'package' => 'modx',
  'version' => '1.1',
  'table' => 'fc_profiles',
  'extends' => 'xPDOSimpleObject',
  'fields' => 
  array (
    'name' => '',
    'description' => '',
    'active' => 0,
    'rank' => 0,
  ),
  'fieldMeta' => 
  array (
    'name' => 
    array (
      'dbtype' => 'nvarchar',
      'precision' => '255',
      'phptype' => 'string',
      'null' => false,
      'default' => '',
      'index' => 'index',
    ),
    'description' => 
    array (
      'dbtype' => 'nvarchar',
      'precision' => 'max',
      'phptype' => 'string',
      'null' => false,
      'default' => '',
    ),
    'active' => 
    array (
      'dbtype' => 'tinyint',
      'precision' => '1',
      'phptype' => 'integer',
      'null' => false,
      'default' => 0,
      'index' => 'index',
    ),
    'rank' => 
    array (
      'dbtype' => 'int',
      'phptype' => 'integer',
      'null' => false,
      'default' => 0,
      'index' => 'index',
    ),
  ),
  'indexes' => 
  array (
    'name' => 
    array (
      'alias' => 'name',
      'primary' => false,
      'unique' => false,
      'type' => 'BTREE',
      'columns' => 
      array (
        'name' => 
        array (
          'length' => '',
          'collation' => 'A',
          'null' => false,
        ),
      ),
    ),
    'rank' => 
    array (
      'alias' => 'rank',
      'primary' => false,
      'unique' => false,
      'type' => 'BTREE',
      'columns' => 
      array (
        'rank' => 
        array (
          'length' => '',
          'collation' => 'A',
          'null' => false,
        ),
      ),
    ),
    'active' => 
    array (
      'alias' => 'active',
      'primary' => false,
      'unique' => false,
      'type' => 'BTREE',
      'columns' => 
      array (
        'active' => 
        array (
          'length' => '',
          'collation' => 'A',
          'null' => false,
        ),
      ),
    ),
  ),
  'composites' => 
  array (
    'Sets' => 
    array (
      'class' => 'modFormCustomizationSet',
      'local' => 'id',
      'foreign' => 'profile',
      'cardinality' => 'many',
      'owner' => 'local',
    ),
    'UserGroups' => 
    array (
      'class' => 'modFormCustomizationProfileUserGroup',
      'local' => 'id',
      'foreign' => 'profile',
      'cardinality' => 'many',
      'owner' => 'local',
    ),
  ),
);