I’m not able to reproduce. I ran the following code (channel field #1 is legacy on my DB) and I got channel_data
calling $m->getDataStorageTable()
. In order for it to work the channel field must have a y
in the legacy_field_data
column in the channel_fields
table.
$m = ee('Model')->get('ChannelField', 1)->first();
var_dump($m->getValues(), $m->getDataStorageTable());
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.