$this->createTable('{{%someTable}}', [
'id' => Schema::TYPE_PK,
'notes' => Schema::TYPE_TEXT,
], $tableOptions);
$this->createTable('{{%someTable}}', [
'id' => $this->primaryKey(),
'notes' => $this->text(),
], $tableOptions);
/**
* Creates a boolean column.
* @return ColumnSchemaBuilder the column instance which can be further customized.
* @since 2.0.6
*/
public function boolean()
{
return $this->getDb()->getSchema()->createColumnSchemaBuilder(Schema::TYPE_BOOLEAN);
}