Raff

Results 5 comments of Raff

in `ProductsTable` ``` public function fetchByIdWithBonuses(int $id): array { return $this->find() ->select(self::PRODUCT_COLUMNS) ->where(['id' => $id]) ->contain(['Bonus']) ->first()->toArray(); } ``` join table: ``` CREATE TABLE `products_bonuses` ( `id` int(11) NOT NULL,...

> I'm going to assume that the `bonuses` table looks something like > > ```sql > CREATE TABLE `bonuses` ( > id int not null primary key, > name varchar(250),...

@othercorey I will return to this issue soon, for now I just worked around it and left a task on the backburner. In a week or so I'll handle this...

I'm experiencing the same problem although in my case I'm trying to remove composite key and replace it with single column. ``` public function change() { $this->table('orders') ->changePrimaryKey('id') ->changeColumn('id', 'integer',...

Great job @misty-mountain @markstory do you want us to submit a PR for this?