Changed type declarations in mysql-sql/database-query