55 lines
1.7 KiB
PHP
Executable File
55 lines
1.7 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* MicDjAccountWrkFixture
|
|
*
|
|
*/
|
|
class MicDjAccountWrkFixture extends CakeTestFixture {
|
|
|
|
/**
|
|
* Table name
|
|
*
|
|
* @var string
|
|
*/
|
|
public $table = 'mic_dj_account_wrk';
|
|
|
|
/**
|
|
* Fields
|
|
*
|
|
* @var array
|
|
*/
|
|
public $fields = array(
|
|
'djaccount_ptr_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
|
|
'graducation_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'key' => 'index'),
|
|
'workexperience' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 6),
|
|
'searchhidden' => array('type' => 'boolean', 'null' => false, 'default' => null),
|
|
'advertising' => array('type' => 'boolean', 'null' => false, 'default' => null),
|
|
'leadership_ability' => array('type' => 'boolean', 'null' => false, 'default' => null),
|
|
'country' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
|
|
'iam' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 300, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
|
|
'indexes' => array(
|
|
'PRIMARY' => array('column' => 'djaccount_ptr_id', 'unique' => 1),
|
|
'mic_dj_account_wrk_b05158b4' => array('column' => 'graducation_id', 'unique' => 0)
|
|
),
|
|
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
|
|
);
|
|
|
|
/**
|
|
* Records
|
|
*
|
|
* @var array
|
|
*/
|
|
public $records = array(
|
|
array(
|
|
'djaccount_ptr_id' => 1,
|
|
'graducation_id' => 1,
|
|
'workexperience' => 1,
|
|
'searchhidden' => 1,
|
|
'advertising' => 1,
|
|
'leadership_ability' => 1,
|
|
'country' => 'Lorem ipsum dolor sit amet',
|
|
'iam' => 'Lorem ipsum dolor sit amet'
|
|
),
|
|
);
|
|
|
|
}
|