XF 2.0 How to create unsigned columns with schemaManager?


Well-known member
As the title says. Can't find where you declare whether the column should be unsigned or signed. If it's not possible to do with schemaManager what's the best to do it then?

DragonByte Tech

Well-known member
It's unsigned by default. If you need to create a signed column, do $table->addColumn('numlatest', 'int')->unsigned(false)->setDefault(-1);