mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
22 lines
595 B
PHP
22 lines
595 B
PHP
<?php
|
|
|
|
namespace SilverStripe\FullTextSearch\Tests\SearchUpdaterTest;
|
|
|
|
use SilverStripe\ORM\DataObject;
|
|
use SilverStripe\FullTextSearch\Tests\SearchUpdaterTest\SearchUpdaterTest_Container;
|
|
|
|
class SearchUpdaterTest_HasOne extends DataObject
|
|
{
|
|
private static $db = array(
|
|
'Field1' => 'Varchar',
|
|
'Field2' => 'Varchar'
|
|
);
|
|
|
|
private static $table_name = 'SearchUpdaterTest_HasOne';
|
|
|
|
private static $has_many = array(
|
|
'HasManyContainers' => SearchUpdaterTest_Container::class,
|
|
'HasManyOtherContainer' => SearchUpdaterTest_OtherContainer::class,
|
|
);
|
|
}
|