2017-04-21 03:18:37 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace SilverStripe\FullTextSearch\Tests\SolrReindexTest;
|
|
|
|
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
use SilverStripe\ORM\DataObject;
|
2017-04-21 04:14:30 +02:00
|
|
|
use SilverStripe\FullTextSearch\Tests\SolrReindexTest\SolrReindexTest_ItemExtension;
|
2017-04-21 03:18:37 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Does not have any variant extensions
|
|
|
|
*/
|
2017-04-26 12:52:20 +02:00
|
|
|
class SolrReindexTest_Item extends DataObject
|
2017-04-21 03:18:37 +02:00
|
|
|
{
|
2017-04-26 12:52:20 +02:00
|
|
|
private static $table_name = 'SolrReindexTest_Item';
|
|
|
|
|
2017-04-21 04:14:30 +02:00
|
|
|
private static $extensions = [
|
|
|
|
SolrReindexTest_ItemExtension::class
|
|
|
|
];
|
2017-04-21 03:18:37 +02:00
|
|
|
|
|
|
|
private static $db = array(
|
|
|
|
'Title' => 'Varchar(255)',
|
|
|
|
'Variant' => 'Int(0)'
|
|
|
|
);
|
|
|
|
}
|