tinyint not supported by postgresql