1 | <?php |
||
2 | |||
3 | namespace TractorCow\Fluent\Tests\Extension\FluentExtensionTest; |
||
4 | |||
5 | use SilverStripe\Dev\TestOnly; |
||
6 | |||
7 | class LocalisedAnother extends LocalisedParent implements TestOnly |
||
8 | { |
||
9 | private static $table_name = 'FluentExtensionTest_LocalisedAnother'; |
||
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
10 | |||
11 | private static $field_exclude = [ |
||
0 ignored issues
–
show
|
|||
12 | 'Record', // overrides data_include varchar |
||
13 | ]; |
||
14 | |||
15 | private static $field_include = [ |
||
0 ignored issues
–
show
|
|||
16 | 'Data' // overrides data_exclude varchar(100) |
||
17 | ]; |
||
18 | |||
19 | private static $db = [ |
||
0 ignored issues
–
show
|
|||
20 | 'Record' => 'Varchar', |
||
21 | 'Bastion' => 'Varchar', |
||
22 | 'Data' => 'Varchar(100)', |
||
23 | 'Cycle' => 'Varchar(100)', |
||
24 | ]; |
||
25 | } |
||
26 |