<?php
namespace CrudJsonApi\Test\App\Model\Table;

class NationalCapitalsTable extends \Cake\ORM\Table
{
    public function initialize(array $config)
    {
        $this->belongsTo('Countries');
    }
}

<?php
namespace CrudJsonApi\Test\App\Model\Table;

class NationalCapitalsTable extends \Cake\ORM\Table
{
    public function initialize(array $config)
    {
        $this->hasMany('Countries');
    }
}

Fix the relationship with Countries
Fix the relationship with Countries
