Updated model attribute types

Changed int to integer as int is not a valid type in waterline