silverstripe-framework/tests/php/ORM/MySQLDatabaseTest/Data.php

21 lines
442 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?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';
2016-10-14 03:30:05 +02:00
private static $db = [
'Title' => 'Varchar',
'Description' => 'Text',
'Enabled' => 'Boolean',
'Sort' => 'Int'
];
2016-10-14 03:30:05 +02:00
private static $default_sort = '"Sort" ASC';
2016-10-14 03:30:05 +02:00
}