42 lines
823 B
PHP
Executable File
42 lines
823 B
PHP
Executable File
<?php
|
|
/**
|
|
* MicDjListGraducationFixture
|
|
*
|
|
*/
|
|
class MicDjListGraducationFixture extends CakeTestFixture {
|
|
|
|
/**
|
|
* Table name
|
|
*
|
|
* @var string
|
|
*/
|
|
public $table = 'mic_dj_list_graducation';
|
|
|
|
/**
|
|
* Fields
|
|
*
|
|
* @var array
|
|
*/
|
|
public $fields = array(
|
|
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
|
|
'name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
|
|
'indexes' => array(
|
|
'PRIMARY' => array('column' => 'id', 'unique' => 1)
|
|
),
|
|
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
|
|
);
|
|
|
|
/**
|
|
* Records
|
|
*
|
|
* @var array
|
|
*/
|
|
public $records = array(
|
|
array(
|
|
'id' => 1,
|
|
'name' => 'Lorem ipsum dolor sit amet'
|
|
),
|
|
);
|
|
|
|
}
|