Bug xf-dev:generate-schema-entity don't correctly generates creating UInt columns

There is a bug in this version
K

Kruzya

Guest
As said in title.

Column has a type \XF\Mvc\Entity\Entity::UINT, and i expect generating schema like:
PHP:

Code:
$this->createTable('table_name', function (\XF\Db\Schema\Create $table)
{
    $table->addColumn('my_column', 'int')->unsigned();
});

What i receive:
PHP:

Code:
$this->createTable('table_name', function (\XF\Db\Schema\Create $table)
{
    $table->addColumn('my_column', 'int');
});

Command just generates a int column without unsigned attribute.
1648922785251.png

Continue reading...