1234567891011121314151617181920212223242526272829 |
- <?php
- /**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2013, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
- namespace lithium\tests\mocks\data\model;
- class MockDatabasePostRevision extends \lithium\tests\mocks\data\MockBase {
- public static $connection = null;
- public $belongsTo = array('MockDatabasePost');
- protected $_meta = array('connection' => null);
- protected $_schema = array(
- 'id' => array('type' => 'integer'),
- 'post_id' => array('type' => 'integer'),
- 'author_id' => array('type' => 'integer'),
- 'title' => array('type' => 'string'),
- 'deleted' => array('type' => 'datetime'),
- 'created' => array('type' => 'datetime')
- );
- }
- ?>
|