mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
22 lines
573 B
PHP
22 lines
573 B
PHP
<?php
|
|
|
|
namespace SilverStripe\ORM\Tests\ManyManyListTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
/**
|
|
* A data object that implements the secondary side of a many_many when extended by
|
|
* ManyManyListTest_IndirectSecondaryExtension.
|
|
*/
|
|
class Secondary extends DataObject implements TestOnly
|
|
{
|
|
private static $table_name = 'ManyManyListTest_Secondary';
|
|
|
|
// Possibly not required, but want to simulate a real test failure case where
|
|
// database tables are present.
|
|
private static $db = [
|
|
'Title' => 'Varchar(255)'
|
|
];
|
|
}
|