Working on #738 Database optimization
All int(1) are now tinyint(1) (smallint on PostgresSQL)