Changed types on migrations, updated models attributes to match db column names and relations.