The `->notNull()` was missing, but we can just use the semantically more
correct “bool” type column.
*/
use wcf\system\database\table\column\BigintDatabaseTableColumn;
+use wcf\system\database\table\column\DefaultFalseBooleanDatabaseTableColumn;
use wcf\system\database\table\column\EnumDatabaseTableColumn;
use wcf\system\database\table\column\MediumtextDatabaseTableColumn;
use wcf\system\database\table\column\NotNullInt10DatabaseTableColumn;
->columns([
EnumDatabaseTableColumn::create('apiVersion')
->drop(),
- TinyintDatabaseTableColumn::create('hasDarkMode')
- ->defaultValue(0),
+ DefaultFalseBooleanDatabaseTableColumn::create('hasDarkMode'),
]),
PartialDatabaseTable::create('wcf1_style_variable')
->columns([