dreamjob/app/Test/Fixture/MicDjPageInhFixture.php

47 lines
1.1 KiB
PHP
Raw Normal View History

2014-02-18 12:10:29 +01:00
<?php
/**
* MicDjPageInhFixture
*
*/
class MicDjPageInhFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_page_inh';
/**
* Fields
*
* @var array
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
'title' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'position' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 6),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1),
'mic_dj_page_inh_fbfc09f1' => array('column' => 'user_id', 'unique' => 0)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => 1,
'user_id' => 1,
'title' => 'Lorem ipsum dolor sit amet',
'position' => 1
),
);
}