silverstripe-framework/tests/php/ORM/DBClassNameTest/CustomDefault.php

18 lines
374 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\ORM\Tests\DBClassNameTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class CustomDefault extends DataObject implements TestOnly
{
2016-11-13 08:35:43 +01:00
private static $table_name = 'DBClassNameTest_CustomDefault';
private static $default_classname = CustomDefaultSubclass::class;
2016-10-14 03:30:05 +02:00
private static $db = array(
'Title' => 'Varchar'
);
}