silverstripe-fulltextsearch/tests/SolrIndexVersionedTest/SolrIndexVersionedTest_Object.php

27 lines
565 B
PHP
Raw Normal View History

<?php
namespace SilverStripe\FullTextSearch\Tests\SolrIndexVersionedTest;
use SilverStripe\ORM\DataObject;
use SilverStripe\Dev\TestOnly;
2017-04-21 04:14:30 +02:00
use SilverStripe\Versioned\Versioned;
/**
* Non-sitetree versioned dataobject
*/
class SolrIndexVersionedTest_Object extends DataObject implements TestOnly
{
private static $table_name = 'SolrIndexVersionedTest_Object';
2017-04-21 04:14:30 +02:00
private static $extensions = [
Versioned::class
];
2017-04-21 04:14:30 +02:00
private static $db = [
'Title' => 'Varchar',
'Content' => 'Text',
'TestText' => 'Varchar',
2017-04-21 04:14:30 +02:00
];
}