I
inzanty
Guest
For example, we have column in entity, which haves default value with
PHP:
But in output we have column with default value 0:
Bash:
Read more
Continue reading...
\XF::$time
constant:PHP:
'creation_date' => ['type' => self::UINT, 'default' => \XF::$time]
But in output we have column with default value 0:
Bash:
Code:
// php cmd.php xf-dev:generate-schema-entity BCORE\eCommerce:ShopItemKey
$this->createTable('xf_bcore_ecommerce_shop_item_key', function (\XF\Db\Schema\Create $table)
{
$table->addColumn('shop_item_key_id', 'int')->autoIncrement()...
Read more
Continue reading...