mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
3a4a49ef03
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4667 3807eeeb-6ff5-0310-8944-8be069107fe0
17 lines
No EOL
523 B
PHP
17 lines
No EOL
523 B
PHP
<?php
|
|
|
|
class AttachmentFixture extends CakeTestFixture {
|
|
var $name = 'Attachment';
|
|
var $fields = array(
|
|
'id' => array('type' => 'integer', 'key' => 'primary'),
|
|
'comment_id' => array('type' => 'integer', 'null' => false),
|
|
'attachment' => array('type' => 'string', 'null' => false),
|
|
'created' => 'datetime',
|
|
'updated' => 'datetime'
|
|
);
|
|
var $records = array(
|
|
array('id' => 1, 'comment_id' => 5, 'attachment' => 'attachment.zip', 'created' => '2007-03-18 10:51:23', 'updated' => '2007-03-18 10:53:31')
|
|
);
|
|
}
|
|
|
|
?>
|