silverstripe /
silverstripe-fulltextsearch
| 1 | <?php |
||
| 2 | |||
| 3 | namespace SilverStripe\FullTextSearch\Tests\SolrReindexTest; |
||
| 4 | |||
| 5 | use SilverStripe\Dev\TestOnly; |
||
| 6 | use SilverStripe\ORM\DataObject; |
||
| 7 | use SilverStripe\FullTextSearch\Tests\SolrReindexTest\SolrReindexTest_ItemExtension; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Does not have any variant extensions |
||
| 11 | */ |
||
| 12 | class SolrReindexTest_Item extends DataObject |
||
| 13 | { |
||
| 14 | private static $table_name = 'SolrReindexTest_Item'; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 15 | |||
| 16 | private static $extensions = [ |
||
|
0 ignored issues
–
show
|
|||
| 17 | SolrReindexTest_ItemExtension::class |
||
| 18 | ]; |
||
| 19 | |||
| 20 | private static $db = array( |
||
|
0 ignored issues
–
show
|
|||
| 21 | 'Title' => 'Varchar(255)', |
||
| 22 | 'Variant' => 'Int(0)' |
||
| 23 | ); |
||
| 24 | } |
||
| 25 |