mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 01:31:22 +02:00
19 lines
414 B
PHP
19 lines
414 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\ORM\Tests\DataObjectSchemaGenerationTest;
|
||
|
|
||
|
use SilverStripe\Dev\TestOnly;
|
||
|
use SilverStripe\ORM\DataObject;
|
||
|
|
||
|
class SortedObject extends DataObject implements TestOnly
|
||
|
{
|
||
|
private static $table_name = 'DataObjectSchemaGenerationTest_SortedObject';
|
||
|
|
||
|
private static $db = [
|
||
|
'Title' => 'Varchar',
|
||
|
'Sort' => 'Int',
|
||
|
];
|
||
|
|
||
|
private static $default_sort = 'Sort';
|
||
|
}
|