mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
24 lines
493 B
PHP
24 lines
493 B
PHP
<?php
|
|
|
|
namespace SilverStripe\FullTextSearch\Tests\SolrVersionedTest;
|
|
|
|
use SilverStripe\ORM\DataObject;
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\Versioned\Versioned;
|
|
|
|
/**
|
|
* Non-sitetree versioned dataobject
|
|
*/
|
|
class SolrIndexVersionedTest_Object extends DataObject implements TestOnly {
|
|
|
|
private static $extensions = [
|
|
Versioned::class
|
|
];
|
|
|
|
private static $db = [
|
|
'Title' => 'Varchar',
|
|
'Content' => 'Text',
|
|
'TestText' => 'Varchar',
|
|
];
|
|
}
|