silverstripe-framework/tests/php/ORM/Filters/SearchFilterApplyRelationTest/ManyManyGrandChild.php

20 lines
488 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\ORM\Tests\Filters\SearchFilterApplyRelationTest;
use SilverStripe\Dev\TestOnly;
class ManyManyGrandChild extends ManyManyChild implements TestOnly
{
private static $table_name = 'SearchFilterApplyRelationTest_ManyManyGrandChild';
2016-10-14 03:30:05 +02:00
// This is to create an seperate Table only.
private static $db = array(
"GrantChildField" => "Varchar",
);
2016-10-14 03:30:05 +02:00
private static $belongs_many_many = array(
"DOs" => TestObject::class,
);
2016-10-14 03:30:05 +02:00
}