mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-19 16:06:32 +02:00
20 lines
492 B
PHP
20 lines
492 B
PHP
<?php
|
|
|
|
namespace SilverStripe\ORM\Tests\Filters\SearchFilterApplyRelationTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
class HasOneGrandChild extends HasOneChild implements TestOnly
|
|
{
|
|
private static $table_name = 'SearchFilterApplyRelationTest_HasOneGrantChild';
|
|
|
|
// This is to create a separate Table only.
|
|
private static $db = [
|
|
"GrantChildField" => "Varchar",
|
|
];
|
|
|
|
private static $has_many = [
|
|
"SearchFilterApplyRelationTest_DOs" => TestObject::class,
|
|
];
|
|
}
|