[RSS Feed/News] xf-dev:generate-schema-entity don't correctly generates creating UInt columns

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
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

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom