mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
26 lines
565 B
PHP
26 lines
565 B
PHP
<?php
|
|
|
|
namespace SilverStripe\FullTextSearch\Tests\SolrIndexVersionedTest;
|
|
|
|
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 $table_name = 'SolrIndexVersionedTest_Object';
|
|
|
|
private static $extensions = [
|
|
Versioned::class
|
|
];
|
|
|
|
private static $db = [
|
|
'Title' => 'Varchar',
|
|
'Content' => 'Text',
|
|
'TestText' => 'Varchar',
|
|
];
|
|
}
|