Hallo All
This is a kind of repost, as i can't figure out the correct answer from similar posts. post1 post2
I'm not able to run a create() on models with composite primary keys. The relations are defined as follows:
$this->hasMany(array('id','company_id'), 'Multiple\Backend\Models\Subscription', array('store_id','company_id'), array('alias' => 'Subscription'));
$this->belongsTo(array('store_id','company_id'), 'Multiple\Backend\Models\Store', array('id','company_id'), array('alias' => 'Store'));
I get the error
Not implemented; File = phalcon/mvc/model.zep; Line = 2640
Is this possible to run a create whit this model definition and if yes what do i do wrong? I'm runnings phalcon 2.0.9 on ubuntu.
Thanks in advance