I tried to write t=t|128 but got an out of range error. I suspect tinyint is signed. However http://dev.mysql.com/doc/refman/5.5/en/numeric-types.html says it may be unsigned (b
You mark the unsigned with the keyword unsigned. So, when making a table for an example:
unsigned
CREATE TABLE `example_table` ( `example_col` tinyint(3) unsigned NOT NULL );
See Create Table instead for more, or the Alter table.