Newer
Older
framework / tests / _support / Models / SecondaryModel.php
@Jim Parry Jim Parry on 25 Jul 2019 328 bytes Release 4.0.0-beta.4
<?php namespace Tests\Support\Models;

use CodeIgniter\Model;

class SecondaryModel extends Model
{
	protected $table = 'secondary';

	protected $primaryKey = 'id';

	protected $returnType = 'object';

	protected $useSoftDeletes = false;

	protected $dateFormat = 'int';

	protected $allowedFields = [
		'key',
		'value',
	];
}