<?php
class ScribbleFixture extends CakeTestFixture {

	public $useDbConfig = 'test';

	public $import = 'Scribble';

	public $records = array(
		array('id' => 1, 'title' => 'Test Scribble', 'body' => 'I am a Scribble!', 'ukey' => '1234567', 'short_link' => 'http://www.example.com', 'created' => '2013-10-12 01:01:01', 'modified' => '2013-10-12 01:01:01')
	);
}

<?php
class ScribbleFixture extends CakeTestFixture {

	public $useDbConfig = 'test';

	public $fields = array(
		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'),
		'title' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'body' => array('type' => 'text', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'ukey' => array('type' => 'string', 'null' => true, 'default' => null, 'key' => 'unique', 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'short_link' => array('type' => 'string', 'null' => true, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
		'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
		'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
		'indexes' => array(
			'PRIMARY' => array('column' => 'id', 'unique' => 1),
			'ukey' => array('column' => 'ukey', 'unique' => 1)
		),
		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
	);

	public $records = array(
		array('id' => 1, 'title' => 'Test Scribble', 'body' => 'I am a Scribble!', 'ukey' => '1234567', 'short_link' => 'http://www.example.com', 'created' => '2013-10-12 01:01:01', 'modified' => '2013-10-12 01:01:01')
	);
}

Define the database schema in test.
Define the database schema in test.
