That's understandable but wondering if that means there's no way one can specify in an addon's Setup.php file that a column is to be created of type "DATE"?XenForo stores dates as unix timestamps and thus uses the UINT type for them in the entity.
mediumint
is a valid column type when using the schema manager in a Setup.php file (and is unsigned by default).$table->addColumn('your_column', 'mediumint');
$table->addColumn('your_column', 'mediumint')->unsigned(false);
Yes, but this requires me to specify this manually. What I was looking for to have this incorporated via themediumint
is a valid column type when using the schema manager in a Setup.php
generate-schema
command from the Entity's class file.We use essential cookies to make this site work, and optional cookies to enhance your experience.