In CakePHP 2.5.X I am creating a belongsTo association, below.
public $belongsTo = array(
‘Signature1’ => array(
‘class’ => ‘Samples.Signature’,
‘foreignKey’ => ‘signature_id’,
),
‘Signature2’ => array(
‘class’ => ‘Samples.Signature’,
‘foreignKey’ => ‘signature2_id’,
),
);
I am receiving the error that the signature1s table does not exist… As you can see this is a model from a plugin, I’ve done some searching and apparently you can not define the table that a belongsTo association will grab from?
‘table’ => ‘signatures’,
Help?