# Specifying the table in Cakephp 2.5 belongsTo association

**URL:** <https://discourse.cakephp.org/t/specifying-the-table-in-cakephp-2-5-belongsto-association/1826>\
**Category:** Need Help\
**Created:** [January 6, 2017, 7:05am UTC](https://discourse.cakephp.org/t/specifying-the-table-in-cakephp-2-5-belongsto-association/1826 "2017-01-06T07:05:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jijarine](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/jijarine/32/484_2.png) [@Jijarine](https://discourse.cakephp.org/u/Jijarine)\
**Post date:** [January 6, 2017, 7:05am UTC](https://discourse.cakephp.org/t/specifying-the-table-in-cakephp-2-5-belongsto-association/1826/1 "2017-01-06T07:05:39Z")

</div>

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?
