use tinyint(1) to distinguish with int