mirror of
https://github.com/archtechx/virtualcolumn.git
synced 2025-12-12 17:04:04 +00:00
Fix ParentModel change
This commit is contained in:
parent
955860d34a
commit
ff84ef1379
1 changed files with 9 additions and 0 deletions
|
|
@ -183,6 +183,15 @@ class MyModel extends ParentModel
|
|||
|
||||
class FooModel extends ParentModel
|
||||
{
|
||||
public function getCustomColumns(): array
|
||||
{
|
||||
return [
|
||||
'id',
|
||||
'custom1',
|
||||
'custom2',
|
||||
];
|
||||
}
|
||||
|
||||
public function getDataColumn(): string
|
||||
{
|
||||
return 'virtual';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue