RangeKey was missing from the import there was two hashkeys in Table.create

Just a problem in the migration guide, 
Missing import and using two hashkeys instead of a hashkey and a rangekey