Skip to content

Exception 'yii\db\Exception' with message 'Specify engine type' #31

@timz

Description

@timz

Hello. I make a migration:
use bashkarev\clickhouse\Migration;
class m230706_140057_create_target extends Migration
{
const TABLE_NAME = 'first_table';
public function up()
{
$this->createTable(
self::TABLE_NAME,
[
'id' => $this->primaryKey(),
'account' => $this->string(35),
'account_state' => $this->tinyInteger(),
]
);

}

...
run
yii clickhouse-migrate
and get error:

create table first_table ...Exception 'yii\db\Exception' with message 'Specify engine type'

Need sample options string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions