Fixes incorrect string typs for databse foreign keys
Updated schema.rb