Changed db migration
Fixed inconsistent variable name across model and controller