silverstripe-framework/tests/php/ORM/UniqueKey/River.php
Mojmir Fendek 7dc6b36c16
Unique key for DataObject (#9400)
NEW Unique key for DataObject
2020-05-04 09:10:51 +12:00

22 lines
362 B
PHP

<?php
namespace SilverStripe\Tests\ORM\UniqueKey;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class River extends DataObject implements TestOnly
{
/**
* @var string
*/
private static $table_name = 'UniqueKeyTest_River';
/**
* @var array
*/
private static $db = [
'Title' => 'Varchar',
];
}