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