I want to select an item from the table `board` by it's PK which is `boardId`.
However the `Board::find(2)` or `Board::find(1)` returns all items, regardless of given parameter.

I have the following table:

[![table](https://i.stack.imgur.com/UxXnZ.png)](https://i.stack.imgur.com/UxXnZ.png)

With corresponding Lumen Model:

```
class Board extends CustomModel
{

    protected $fillable = [
        'userId', 'boardName', 'private'
    ];

    protected $primaryKey = 'boardId';

    protected $table = 'board';
}

```

Custom Model is: 

```
abstract class CustomModel extends Model
{
    use Authenticatable, Authorizable;

    const CREATED_AT = 'createdAt';
    const UPDATED_AT = 'updatedAt';

}

```

Calling it with:

```
$boardId = 2;
return Board::find($boardId)->get();

```

Also tried:

```
$boardId = 2;
return Board::find($boardId)->first();

```

And the following:

```
$boardId = 2;
return Board::find($boardId)->toSql();

```

Returns: `select * from 'board'`. So there is no `where boardId = ?` or something, which is the problem. What am I doing wrong ?

I'm running PHP 7.2.0 and Lumen 5.5.2. Queries on other models work fine.