skipAssertion(function (Schema $schema) { return $schema->getTable($this->getPrefixedTableName(self::TABLE))->getColumn('channel_id')->getType() instanceof StringType; }, 'Column already in Varchar type'); } public function up(Schema $schema): void { $this->addSql("ALTER TABLE `{$this->getPrefixedTableName(self::TABLE)}` MODIFY `channel_id` VARCHAR(64) DEFAULT NULL;"); } }