DragonByte Tech
Well-known member
- Affected version
- 2.0.9
Consider this line in an entity:
This will generate the following line in the SchemaManager output:
Consider this line in an entity:
This will generate the following line in the SchemaManager output:
Fillip
'has_demo' => ['type' => self::BOOL, 'default' => false],
This will generate the following line in the SchemaManager output:
$table->addColumn('has_demo', 'tinyint')->setDefault();
Consider this line in an entity:
'active' => ['type' => self::BOOL, 'default' => true],
This will generate the following line in the SchemaManager output:
$table->addColumn('active', 'tinyint')->setDefault(0);
Fillip