mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
21 lines
411 B
PHP
21 lines
411 B
PHP
<?php
|
|
|
|
namespace SilverStripe\ORM\Tests\MySQLDatabaseTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
class Data extends DataObject implements TestOnly
|
|
{
|
|
private static $table_name = 'MySQLDatabaseTest_Data';
|
|
|
|
private static $db = array(
|
|
'Title' => 'Varchar',
|
|
'Description' => 'Text',
|
|
'Enabled' => 'Boolean',
|
|
'Sort' => 'Int'
|
|
);
|
|
|
|
private static $default_sort = '"Sort" ASC';
|
|
}
|