1
0
mirror of https://github.com/silverstripe/silverstripe-framework synced 2024-10-22 12:05:37 +00:00

24 lines
469 B
PHP
Raw Normal View History

2017-08-08 16:46:34 +12:00
<?php
namespace SilverStripe\ORM\Tests\CascadeDeleteTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class ParentObject extends DataObject implements TestOnly
{
private static $table_name = 'CascadeDeleteTest_ParentObject';
private static $db = [
'Title' => 'Varchar',
];
private static $cascade_deletes = [
'Children'
];
private static $has_many = [
'Children' => ChildObject::class,
];
}